WCF服务在App Server上本地工作,但可以从Web Server访问它

时间:2014-12-29 12:22:01

标签: c# web-services wcf wsdl

我在App Server http://appserver.org/UserManagementService.svc?wsdlhttps://localhost/UserManagementService.svc上本地运行WCF服务,这意味着它将向我显示WSDL的XML保证,但无法到达http://appserver.org/UserManagementService.svc?wsdl或{{1}从Web Server,我也无法从我的开发机器,VS内部或直接在浏览器中访问这些地址。我尝试时收到以下错误:

http://appserver.org/UserManagementService.svc

这是托管IIS中服务的服务应用程序的web.config

There was an error downloading 'https://appserver.org/UserManagementService.svc/_vti_bin/ListData.svc/$metadata'.
The request failed with HTTP status 404: Not Found.
Metadata contains a reference that cannot be resolved: 'https://appserver.org/UserManagementService.svc'.
There was no endpoint listening at https://prod-uibenapps.sces.org/UserManagementService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote server returned an error: (404) Not Found.
If the service is defined in the current solution, try building the solution and adding the service reference again.

提前感谢您的帮助,几天来一直在敲我的头。

0 个答案:

没有答案