I have a question about Deserialization. I have the following declaration in
a schema:
<xs:element name="Schema" type="xs:anyType"/>
which on using wsdl2java generates:
java.lang.Object schema
When I generate my service request I get the correct SOAP response from the
service but my Java client gives the following exception.
- No deserializer for java.lang.Object
- Exception:
org.xml.sax.SAXException: No deserializer for
{http://www.w3.org/2001/XMLSchema}anyType
at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.
java:269)
Clearly I'm doing something wrong. Can anyone tell me how deserialization
should be handled here? Should I use ElementDeserializer?
______________________
Dr. Neil Finlayson
Technical Director, AtlanticShack
Website: http://www.atlanticshack.com/
Weblog: http://radio.weblogs.com/0112316/
Tel: +44 (01851) 810124
Mobile: 07919 445909