Foros del Web

Foros del Web (http://www.forosdelweb.com/)
-   Java (http://www.forosdelweb.com/f45/)
-   -   No Deserializer Found Web Service (http://www.forosdelweb.com/f45/no-deserializer-found-web-service-583482/)

ChiramMFM 06/05/2008 10:10

No Deserializer Found Web Service
 
Hola,

Tengo un problema con la respuesta de un web service.

El error que me da es:

Código:

No Deserializer found to deserialize a
'http://cat.gencat.dedu.interficie.comuns.tramesa.WSValidacions/IWSServer_Validacions.xsd:cat_gencat_dedu_interficie_comuns_tramesa_WSValidacions_Respuesta'
using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
[java.lang.IllegalArgumentException]08/05/06 18:03:01
[SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to deserialize a 'http://cat.gencat.dedu.interficie.comuns.tramesa.WSValidacions/IWSServer_Validacions.xsd:cat_gencat_dedu_interficie_comuns_tramesa_WSValidacions_Respuesta' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.; targetException=java.lang.IllegalArgumentException:No Deserializer found to deserialize a 'http://cat.gencat.dedu.interficie.comuns.tramesa.WSValidacions/IWSServer_Validacions.xsd:cat_gencat_dedu_interficie_comuns_tramesa_WSValidacions_Respuesta' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.]

y la parte donde se define el deserializer es:

Código:


QName qname=new QName("http://localhost:8888/e13_inc/WS_Validacions.xsd", "cat.gencat.dedu.interficie.comuns.tramesa.WSValidacions.Respuesta");
    BeanSerializer beanSer = new BeanSerializer();
    m_smr.mapTypes(Constants.NS_URI_SOAP_ENC,new org.apache.soap.util.xml.QName("http://localhost:8888/e13_inc/WS_Validacions.xsd", "cat.gencat.dedu.interficie.comuns.tramesa.WSValidacions.Respuesta") , Respuesta.class,(Serializer) beanSer, (Deserializer)beanSer);

Respuesta cumple con los estandares para poder serializarlo y deserializarlo.

Le he dado muchas vueltas al WSDL, y tpc encuentro ningun fallo.

Alguien me puede echar una mano para resolver esto???

Gracias


La zona horaria es GMT -6. Ahora son las 19:42.

Desarrollado por vBulletin® Versión 3.8.7
Derechos de Autor ©2000 - 2026, Jelsoft Enterprises Ltd.