You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mahmood Mohammed <ma...@insevo.com> on 2002/09/10 21:48:07 UTC
Custom (De)serializer ??
Hi
I wrote custom (De)serializer class( XXXSerializer ) it don't seem to
picking the right (De)serializer,
while deploying the webservice is specified it (De)serializer in
deploy.wsdd
<typeMapping
xmlns:ns="urn:address"
qname=""
type="java:samples.ws.holders.XXXHolder"
serializer="samples.ws.encoding.XXXSerializerFactory"
deserializer="samples.ws.encoding.XXXDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
Any help to debug will be appreciate.
Thanks in advance.
mohammed.
============= FAULT ==================
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.userException</faultc
ode>
<faultstring>org.xml.sax.SAXException: SimpleDeser cannot handle
structured data!</faultstring>
<detail>
<ns2:stackTrace
xmlns:ns2="http://xml.apache.org/axis/">org.xml.sax.SAXException:
SimpleDeser cannot handle structured data!
at
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeser
ializer.java:155)
at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Deseria
lizationContextImpl.java:857)