在Mulesoft Web服务使用者中启用WS-Addressing
如何在Mulesoft的Web服务使用者中启用WS-Addressing 当我在mulesoft中搜索WS-Addressing时。它指向CXF。但是,文档指出,建议使用web服务使用者而不是CXF 那么,是否有任何方法可以启用WS-Addressing呢。SoapAction被添加到WSDL中在Mulesoft Web服务使用者中启用WS-Addressing,mule,mule-component,anypoint-studio,mule-esb,Mule,Mule Component,Anypoint Studio,Mule Esb,如何在Mulesoft的Web服务使用者中启用WS-Addressing 当我在mulesoft中搜索WS-Addressing时。它指向CXF。但是,文档指出,建议使用web服务使用者而不是CXF 那么,是否有任何方法可以启用WS-Addressing呢。SoapAction被添加到WSDL中 POST /esi2/esi-gateway/v2/common/v1 HTTP/1.1 SOAPAction: "http://www.macquarie.com/...." Host: www.ma
POST /esi2/esi-gateway/v2/common/v1 HTTP/1.1
SOAPAction: "http://www.macquarie.com/...."
Host: www.macquarie.com
User-Agent: AHC/1.0
Connection: keep-alive
Accept: */*
Content-Type: text/xml; charset=UTF-8
Content-Length: 1453
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-2004
POST/esi2/esi网关/v2/common/v1 HTTP/1.1
SOAPAction:“http://www.macquarie.com/...."
主持人:www.macquarie.com
用户代理:AHC/1.0
连接:保持活力
接受:*/*
内容类型:text/xml;字符集=UTF-8
内容长度:1453
注:-这是官方答案。它是有效的。修复TO、Action和messageID中的虚拟网址
请在webservice使用者之前添加以下内容。你该走了
<set-property propertyName="soap.to" value="<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.asdfadsf.com/esi/common/v1</wsa:To>" doc:name="Soap.To"/>
<set-property propertyName="soap.Action" value="<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.xyzdadadf.com/esi/common/1.0/getAuthenticationExpiryRequest</wsa:Action>" doc:name="soap.action"/>
<set-property propertyName="soap.messageID" value="<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:entity-name:version:1</wsa:MessageID>" doc:name="soap.messageID"/>
我将此贴在表格中,以获得更大的社区帮助。注意:-这是官方答案。它是有效的。修复TO、Action和messageID中的虚拟网址
请在webservice使用者之前添加以下内容。你该走了
<set-property propertyName="soap.to" value="<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.asdfadsf.com/esi/common/v1</wsa:To>" doc:name="Soap.To"/>
<set-property propertyName="soap.Action" value="<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.xyzdadadf.com/esi/common/1.0/getAuthenticationExpiryRequest</wsa:Action>" doc:name="soap.action"/>
<set-property propertyName="soap.messageID" value="<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:entity-name:version:1</wsa:MessageID>" doc:name="soap.messageID"/>
我将此贴在表格中,以获得更大的社区帮助