我有一个在本地网络上的服务器上运行的 Web 服务。使用程序soapUI,我可以毫无问题地连接到服务。因此,当我使用soapUI 创建一个新项目并输入我的网址“ 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 命令时,我收到错误消息:
有什么建议么?