更新时间:2021-11-16 09:58:06
元数据'。
无法 to connect to the 远程 服务器
否 连接 made 因为 target machine active 被拒绝 它 127 。 0 。 0 。 1:8090
元数据 包含 参考 不能 已解决: 'http: // localhost:8090 / whatever /?wsdl'。
was no endpoint list ening http: // localhost:8090 / whatever /?wsdl可以接受该消息。这通常是由错误的地址或SOAP操作引起的。有关详细信息,请参阅InnerException(如果存在)。
无法 到 connect 远程 服务器
否 connection made 因为 target machine 主动 拒绝 它 127 。 0 。 0 。 1:8090
如果 service 当前 解决方案,尝试 building 解决方案 和 添加 服务 参考 再次。
metadata'. Unable to connect to the remote server No connection could be made because the target machine actively refused it 127.0.0.1:8090 Metadata contains a reference that cannot be resolved: 'http://localhost:8090/whatever/?wsdl'. There was no endpoint listening at http://localhost:8090/whatever/?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Unable to connect to the remote server No connection could be made because the target machine actively refused it 127.0.0.1:8090 If the service is defined in the current solution, try building the solution and adding the service reference again.
有谁知道我哪里出错了?
谢谢你高级
Does anyone have any idea where I'm going wrong?
Thanks In Advance
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:8090
If the service is defined in the current solution, try building the solution and adding the service reference again.
此异常(以及其他一些异常)可能会产生误导 - 如果连接被拒绝,您有时会遇到此异常,但您也可能因为与错误无关的原因而看到它表面上被报道。
您需要打开WCF配置编辑器中的跟踪选项(客户端和服务器,如果适用),使用跟踪选项重现异常打开,然后查看已生成的跟踪日志。
http://msdn.microsoft.com/en-us/library/ms733025(v = vs.110).aspx [ ^ ]