有什么想法可以纠正这个问题..通过js调用服务
The message with To 'http://MySite.svc/GetStateXML' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree
谢谢
最佳答案
下面列出的错误表明 Web 服务实现了 WS-Addressing。
“由于 EndpointDispatcher 上的 AddressFilter 不匹配,带有 To '' 的消息无法在接收方处理。请检查发送方和接收方的 EndpointAddress 是否一致”
在 SOAP header 中包含以下内容以访问 Web 服务:
<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:To>http://example.com/service</wsa:To>
</soap:Header>
关于wcf - EndpointDispatcher 处的 AddressFilter 不匹配 - 带有 To 的消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9293721/