basicHttpBinding over SSL上的wsHttpBinding

时间:2013-09-10 09:31:16

标签: wcf web-services basichttpbinding wshttpbinding wcf-wshttpbinding

在我测试soapUI中的一个web服务之前,它工作正常。但现在webservice通过SSL将basicHttpBinding更改为wsHttpBinding。现在我正在尝试执行webservice,以下异常即将到来。我在目标c中使用webservice 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>

1 个答案:

答案 0 :(得分:0)

您尚未发布绑定配置。默认的WSHttpBinding设置是在WCF外部可互操作的(消息级别的SPNego)。一般的基本绑定更容易互操作。