我的Web服務託管在IIS我的服務器上,當我嘗試下載它給了我一個錯誤的服務元數據的計算機名稱:遠程名稱無法解析:win2008x64(服務器名) 。在服務器上,我有2個綁定,一個http,另一個是https ..
我該如何解決此問題?
編輯:
WCF Web服務元數據包含
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 https:// win2008x64:1667/Service.svc?wsdl win2008x64是問題,它應該給ip .. – croisharp