【发布时间】:2013-04-10 13:18:48
【问题描述】:
我在本地网络的服务器上运行了一个 Web 服务。使用程序soapUI,我可以毫无问题地连接到服务。因此,当我使用soapUI 创建一个新项目并输入我的url 'http://xx.xx.xx.xx:9180/SOAOICCT/services/SessionService?wsdl' 时,它加载没有问题。
当我尝试使用相同的 URL 在 Visual Studio 2008 中添加服务引用时,我收到“添加服务引用错误”:
There was an error downloading 'http://xx.xx.xx.xx:9180/SOAOICCT/services/SessionService?wsdl'.
The request failed with HTTP status 504: Gateway Timeout.
Metadata contains a reference that cannot be resolved: 'http://47.166.94.33:9180/SOAOICCT/services/SessionService?wsdl'.
The remote server returned an error: (504) Gateway Timeout.
The remote server returned an error: (504) Gateway Timeout.
If the service is defined in the current solution, try building the solution and adding the service reference again.
当我尝试从 Visual Studio 命令提示符使用 wsdl.exe 命令时,我收到错误消息:
有什么建议吗?
【问题讨论】:
标签: visual-studio-2008 wsdl soapui