【发布时间】:2013-09-10 09:31:15
【问题描述】:
在我在soapUI 中测试过一个Web 服务之前,它工作正常。但是现在 webservice 已通过 SSL 将 basicHttpBinding 更改为 wsHttpBinding。现在我正在尝试执行 web 服务,我得到了以下异常。我在目标 c 中使用 web 服务 url。我现在不知道如何在 SOAP UI 和 iphone 中测试和执行。任何人请告诉我如何解决。
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action>
</s:Header>
<s:Body>
<s:Fault>
<s:Code>
<s:Value>s:Sender</s:Value>
<s:Subcode>
<s:Value>a:DestinationUnreachable</s:Value>
</s:Subcode>
</s:Code>
<s:Reason>
<s:Text xml:lang="en-AU">The message with To '' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.</s:Text>
</s:Reason>
</s:Fault>
</s:Body>
</s:Envelope>
【问题讨论】:
-
我不确定但是这个 [stackoverflow answer][1] 可能会对您有所帮助。 [1]:stackoverflow.com/a/27270841/1197132
标签: wcf web-services basichttpbinding wshttpbinding wcf-wshttpbinding