【发布时间】:2014-04-03 21:40:57
【问题描述】:
我在尝试从第三方 url 下载 wsdl 文件时遇到错误。
错误:
There was an error downloading 'https://xxxxx.com/wsdl/Object/CustomObjectInstances?Id=xxxx'.
The remote name could not be resolved: 'xxx.xxxx.xxx'
Metadata contains a reference that cannot be resolved: 'https://xxxxx.com/wsdl/Object/CustomObjectInstances?Id=xxxx'.
There was no endpoint listening at https://xxxxx.com/wsdl/Object/CustomObjectInstances?Id=xxxx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote name could not be resolved: 'xxx.xxxx.xxx'
If the service is defined in the current solution, try building the solution and adding the service reference again.
我的发现:
1.我已经构建了解决方案并尝试添加服务引用(同样的错误)。
2.错误中的IP看起来很奇怪(xxx.xxxx.xxx)。只有三个部分。
【问题讨论】:
-
如果消息是正确的并且您没有网络相关的问题,您将不得不询问您的第三方,这不是您可以解决的技术问题。
-
@nvoigt。使用相同的 url 我的团队成员之一可以下载 Wsdl。我需要更改任何 visualstudio 道具吗?
-
如果它可以被其他人下载,在这种情况下,您是否可以检查是否有任何防火墙/不同的代理以确保没有阻止请求?
-
@LakshmiNarayanan,但是我可以把 url 放到 IE 中,可以看到服务细节(XML)。那么还是防火墙问题?
标签: c# visual-studio-2010 web-services