Wcf 通过SSL将basicHttpBinding绑定到wsHttpBinding
在我在soapUI中测试一个Web服务之前,它工作得很好。但现在webservice已通过SSL将basicHttpBinding更改为wsHttpBinding。现在我正在尝试执行webservice,下面是我遇到的异常。我正在使用objective c中的webservice url。我现在不知道如何在SOAP UI和iphone中测试和执行。任何人请告诉我如何解决Wcf 通过SSL将basicHttpBinding绑定到wsHttpBinding,wcf,web-services,basichttpbinding,wshttpbinding,wcf-wshttpbinding,Wcf,Web Services,Basichttpbinding,Wshttpbinding,Wcf Wshttpbinding,在我在soapUI中测试一个Web服务之前,它工作得很好。但现在webservice已通过SSL将basicHttpBinding更改为wsHttpBinding。现在我正在尝试执行webservice,下面是我遇到的异常。我正在使用objective c中的webservice url。我现在不知道如何在SOAP UI和iphone中测试和执行。任何人请告诉我如何解决 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope
<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>
http://www.w3.org/2005/08/addressing/soap/fault
s:发件人
a:命运是不可挽回的
由于EndpointDispatcher上的AddressFilter不匹配,无法在接收器上处理收件人为“”的消息。检查发送方和接收方的端点地址是否一致。
您尚未发布绑定配置。默认的WSHttpBinding设置是可在WCF外部互操作的(消息级别的SPNego)。Ine通用基本绑定更易于互操作。我不确定,但此[stackoverflow answer][1]可能会对您有所帮助。[1]: