FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
WebService Port@firma v2 Junta de Andalucia.
Buenas a todos,
estoy envuelto en el desarrollo de un cliente Delphi que ataque al WebService de Port@firma de la Junta de Andalucía. El problema es que ni el Import WSDL de Delphi 7 ni el de Tokyo 10.2 me importan correctamente el WSDL, creo que en parte es por como está montado el servidor, pero no es descartable mi torpeza. No es el primer WebService que ataco, ya lo hago con el SII de la Agencia Tributaria y varios internos de la empresa. ¿Alguien ha tenido que trabajar con este WebService desde Delphi? Gracias a todos por vuestro tiempo. Feliz navidad y prospero año nuevo a todos. |
#2
|
||||
|
||||
Vale, pero qué problema tienes, qué código usas, etc.
|
#3
|
||||
|
||||
Cita:
Una curiosidad.... ¿qué posibilidades da ese webservice? Saludos
__________________
Be water my friend. |
#4
|
||||
|
||||
¿Se puede acceder al webservice o se necesitan credencialkes especiales?
¿Puedes poner la URL? ¿Al importar te da algún error?
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
#5
|
|||
|
|||
Perdonadme todos y muchisimas gracias por el interés. Por temas de carga de trabajo y vacaciones no he podido explicar detalladamente mi problema. Estoy escribiendolo y en breve lo pongo, sería de muchísima ayuda si alguien se hubiera encontrado con este problema, similiar o supiera por donde debería tirar. Gracias de verdad y espero subir la explicación correctamente redactada y con toda la información.
Muchas gracias. |
#6
|
|||
|
|||
La url del WSDL es http://portafirmas.dipusevilla.es/pf...ryService?wsdl
El resultado de usar el WSDL Importer de Delphi 7 devuelve este resultado:
En el primer bloque no es capaz de definir los tipos:
Pero si miramos el WSDL directamente en un navegador vemos que si aparece la url de un xsd donde se definen los tipos. Código:
<xsd:import namespace="urn:juntadeandalucia:cice:pfirma:query:request:v2.0" schemaLocation="http://portafirmas.dipusevilla.es/pfirma26/servicesv2/QueryService?xsd=query.xsd" /> El problema es que no es el primer WebService que consumo, pero si es el primero que tengo problemas. He incorporados los XSD a mano, guardandolos y usando el XML Data Binding para generar las interfaces. Pero el Web Service me responde con errores poco descriptivos. Lo último ha sido probar construyendo el XML de llamada a "mano" y aun así me responde con mensajes de error. Pongo un ejemplo más descriptivo: Uno de los metodos a llamar es queryDocumentTypes usando la aplicación SopaUI conseguí montar un proyecto y hacer la llamada a esa funcion y vi el XML que usaba en la llamada y lo monté yo en delphi. El XML tiene esta pinta: Código:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:juntadeandalucia:cice:pfirma:query:request:v2.0"> <soapenv:Header/> <soapenv:Body> <urn:queryDocumentTypes> <query></query> </urn:queryDocumentTypes> </soapenv:Body> </soapenv:Envelope> Llevo casi una semana dándole vueltas y no se como abordarlo, es algo que he heredado y no hay ni documentación ni nadie a quien dirigirme, he escrito tanto al ministerio como a la consejeria pero no contestan. Gracias a todos por el interés. |
#7
|
|||
|
|||
Cita:
Cuando todo lo que intentento hacer ( SOAP con Delphi ) y no puedo resolverlo por una u otra causa, acudo a un plan B ( cURL ) sí, un poco más de trabajo porque se tiene que crear el SOAP a "manita" pero te podría "salvar el pellejo". Mira éste tutorial a ver si te da una idea. Saludos
__________________
"La forma de empezar es dejar de hablar y empezar a hacerlo." - Walt Disney |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Port Knocking | ElChicoNuevo | Servers | 3 | 28-10-2018 10:54:11 |
Port Forward no me funciona | winzo | Varios | 0 | 09-03-2014 06:59:39 |
Andalucía gastará 225 millones en pagar a 1.300 exempleados de empresas subvencionada | fjcg02 | La Taberna | 8 | 17-10-2012 10:08:08 |
Serial Port | JoseFco | Varios | 46 | 22-03-2008 02:38:49 |
Busco ordenador o portátil | Arcioneo | Varios | 2 | 18-07-2006 13:49:32 |
|