2011-03-18 20 views
5

He desarrollado un servicio WCF y, mientras estoy en Visual Studio 2010, puedo importar el WSDL sin ningún problema. Después de implementarlo en AppFabric, obtengo el WSDL, pero por alguna razón no se pueden encontrar varios archivos de esquema a los que se hace referencia internamente en el WSDL. No sé si es un problema de configuración, o qué. El error que consigo cuando intento procesar el WSDL en Visual Studio 2010 sigue a continuación:No se puede hacer referencia al WSDL del servicio web WCF alojado en AppFabric

Metadata contains a reference that cannot be resolved:
'http://myserver.mydomain.com:9871/app_deploy/MyAppService.svc?wsdl'.
The WSDL document contains links that could not be resolved.
There was an error downloading 'http://myserver.mydomain.com:9871/app_deploy/MyAppService.svc?xsd=xsd0'.
The request failed with HTTP status 502: Proxy Error (The specified network name is no longer available. ).
Metadata contains a reference that cannot be resolved:
'http://myserver.mydomain.com:9871/app_deploy/MyAppService.svc'.
There was no endpoint listening at http://myserver.mydomain.com:9871/app_deploy/MyAppService.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.

el error es un error de proxy, ya que pasa a través de un proxy, pero el error se debe a que la página no está allí. He intentado acceder al http://localhost:9871/app_deploy/MyAppService.svc?xsd=xsd0 en el servidor, pero obtengo el 404.

¿Por qué no se han encontrado estos archivos xsd? ¿Es un problema de implementación?

Cualquier ayuda sería muy apreciada.

Respuesta

9

Hombre, finalmente encontré el problema here. Necesitaba permiso de escritura en C: \ Windows \ Temp para el usuario del grupo de aplicaciones.

+2

Gracias !!!!!!!!!!!!!!!!!!!!!!!!!!! – Funky

Cuestiones relacionadas