添加服务引用失败:无法连接到远程服务器

时间:2013-10-18 16:56:00

标签: .net web-services visual-studio-2012

同事能够在没有问题的情况下使用Apache Axis创建代理。

不幸的是,我只能访问桌面版的VS 2012 Express。

尝试添加服务引用时出现此错误:

There was an error downloading 'https://app.hostname.com/services/APP?wsdl/$metadata'.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 123.456.789.123:443
Metadata contains a reference that cannot be resolved: 'https://app.hostname.com/services/APP?wsdl'.
There was no endpoint listening at https://app.hostname.com//services/APP?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
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 123.456.789.123:443
If the service is defined in the current solution, try building the solution and adding the service reference again.

我从另一方面的开发人员那里获得“为我工作”的待遇,不幸的是我不知道要问的问题/如何解决这个问题。

1 个答案:

答案 0 :(得分:0)

防火墙阻止了通信。多么愚蠢的错误