Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/05/2008, 10:10
Avatar de ChiramMFM
ChiramMFM
 
Fecha de Ingreso: enero-2008
Mensajes: 19
Antigüedad: 17 años, 2 meses
Puntos: 0
Pregunta 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