【发布时间】:2011-07-28 07:55:04
【问题描述】:
我的 Web 服务托管在我服务器上的 IIS 中,当我尝试下载服务的元数据时,它给了我一个错误:无法解析远程名称:win2008x64(服务器名称)。在服务器上,我有 2 个绑定,一个是 http,另一个是 https..
我该如何解决这个问题?
编辑:
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'http://win2008x64:1668/Service.svc?xsd=xsd0'.
- The remote name could not be resolved: 'win2008x64'
Metadata contains a reference that cannot be resolved: 'http://89.x.x.x:166x/Service.svc?wsdl'.
Metadata contains a reference that cannot be resolved: 'http://89.x.x.x:166x/Service.svc?wsdl'.
If the service is defined in the current solution, try building the solution and adding the service reference again.
提前致谢。
【问题讨论】:
-
a: 客户端可以通过名称ping服务器吗? b:当您在浏览器中浏览到端点时会发生什么?
-
是的,它当然可以ping通,我可以在浏览器中访问端点,但是它在此页面上显示的内容是:svcutil.exe win2008x64:1667/Service.svc?wsdlwin2008x64 是问题,它应该给出IP ..
标签: c# .net wcf web-services iis