No route can be determined to reach the destination role defined by the WS-Addre
No route can be determined to reach the destination role defined by the WS-Addressing To.
我自己测的时候是可以的。在IE中输入http://ip:port/ 也是能访问的。如下
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:PNPX="http://schemas.microsoft.com/windows/pnpx/2005/08" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:xmime1="http://www.w3.org/2004/06/xmlmime" xmlns:xmime2="http://www.w3.org/2004/11/xmlmime" xmlns:wsdp="http://schemas.xmlsoap.org/ws/2005/05/devprof" xmlns:wprt="http://schemas.microsoft.com/windows/2006/08/wdp/print" xmlns:wscn="http://schemas.microsoft.com/windows/2006/08/wdp/scan" xmlns:UNS1="http://schemas.microsoft.com/windows/test/testdevice/11/2005">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>HTTP GET method not implemented</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
但在用户那边会报错:No route can be determined to reach the destination role defined by the WS-Addressing To.
我这边模拟不出错误,请教各位都有哪些可能造成这样的现象?
[最优解释]
http://social.msdn.microsoft.com/Forums/en/wcf/thread/b1794fb5-2a1c-4d75-99b9-e8b82f37cd35
看看服务器上的log文件,查找失败原因
[其他解释]
用户网络可以访问的服务器吗
[其他解释]