Foros del Web » Programación para mayores de 30 ;) » .NET »

Problemas al importar Web Service

Estas en el tema de Problemas al importar Web Service en el foro de .NET en Foros del Web. Hola Estoy intentando acceder al Web Service de FACe (Facturación electrónica) para envío de facturas como proveedor de administración pública desde Visual Studio. Al importar ...
  #1 (permalink)  
Antiguo 30/01/2015, 01:48
Avatar de jshdev  
Fecha de Ingreso: julio-2013
Mensajes: 10
Antigüedad: 10 años, 9 meses
Puntos: 0
Problemas al importar Web Service

Hola

Estoy intentando acceder al Web Service de FACe (Facturación electrónica) para envío de facturas como proveedor de administración pública desde Visual Studio.

Al importar la url del servicio wsdl de Staging (https://se-face-webservice.redsara.es/sspp?wsdl) parace que todo va bién. Pero al finalizar el último paso me doy cuenta de lo siguiente:
- El Reference.vb no se ha rellenado
- Tengo un error y dos Warnings

Warning 2 Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='https://webservice.face.gob.es']/wsdl:portType[@name='SSPPWebServiceProxyPort']
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://webservice.face.gob.es']/wsdl:binding[@name='SSPPWebServiceProxyBinding'] C:\Proyectos\Gestion\Gestion.BLL\Service References\WebServiceFACe\Reference.svcmap 1 1 Gestion.BLL


Warning 5 Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='https://webservice.face.gob.es']/wsdl:binding[@name='SSPPWebServiceProxyBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://webservice.face.gob.es']/wsdl:service[@name='SSPPWebServiceProxyService']/wsdl:port[@name='SSPPWebServiceProxyPort'] C:\Proyectos\Gestion\Gestion.BLL\Service References\WebServiceFACe\Reference.svcmap 1 1 Gestion.BLL



No tengo ni idea de por donde seguir, aún habiendo consultado muchos foros. El teléfono de soporte de FACe no coge nunca el teléfono.

Si alguién ha conseguido configurarlo en alguna ocasión, por favor ayudenme.

Un saludo y gracias
  #2 (permalink)  
Antiguo 02/02/2015, 01:51
Avatar de jshdev  
Fecha de Ingreso: julio-2013
Mensajes: 10
Antigüedad: 10 años, 9 meses
Puntos: 0
Respuesta: Problemas al importar Web Service

He encontrado esta página que parece que soluciona mi problema:
http://sviudes.blogspot.com.es/2010/05/facturae-con-net-y-c.html

Si a alguién le interesara creo que debería visitarla.

Un saludo

Etiquetas: face, webservice, wsdl
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:11.