我有一个托管在使用 Web 服务寻址 (WS-A) 的 Weblogic Server 中的 SOAP Web 服务。我正在尝试使用 WSO2 API Manager 发布它。
原始请求有一个完整的 SOAP 标头,包括一个 Action 和 MessageID:
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>urn:es:cetelem:ws:venta:promociones:services:promocionesService:promocionesService_v03:PromocionesServicePortType:obtenerPromocionesOperacionVndRequest</wsa:Action>
<wsa:MessageID>uuid:969e636c-067f-4bed-a38a-65f0f81c295d</wsa:MessageID>
</soapenv:Header>
但是 wso2-am 在发送到 Werblogic 服务器中的最终端点之前会从 SOAP 标头中删除字段 Action 和 MessageID。这是 wso2-am 发送的错误侦听器的示例
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"/>
如何配置 wso2-am 以保留客户端发送的 SOAP 标头。