0

我在向其他第三方供应商发布肥皂消息时遇到错误。两边的肥皂版本和 1.2 相同。有人可以建议吗?

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding">
    <env:Body>
        <env:Fault>
            <axis2ns1:Code xmlns:axis2ns1="http://www.w3.org/2003/05/soap-envelope">
            <axis2ns1:Value>env:Receiver</axis2ns1:Value>
            </axis2ns1:Code>
            <axis2ns1:Reason xmlns:axis2ns1="http://www.w3.org/2003/05/soap-envelope">
                <env:Text xml:lang="en">org.apache.axiom.soap.SOAPProcessingException: Transport level information does not match with SOAP Message namespace URI</env:Text>
            </axis2ns1:Reason>
        </env:Fault>
    </env:Body>
</env:Envelope>
4

2 回答 2

0

确保Content-Type此请求的标头中的 是application/soap+xml,而不是text/xml后者用于 SOAP 版本 1.1。

于 2021-04-27T13:56:24.167 回答
0

https://issues.apache.org/jira/browse/AXIS2-5928

或者

https://wso2.org/jira/browse/ESBJAVA-4873

或者

https://wso2.org/jira/browse/ESBJAVA-4873

这通常发生在 SOAP 1.2 消息已发送到 SOAP 1.1 绑定端点时,反之亦然。

于 2018-08-10T03:46:58.610 回答