Hi,
        I have had this problem for a while now. I get the following
exception when I call a web service on a remote client.
The return value of that web service method is a SOAP document (returned to
the client as a String). I figured out that I am getting the following
exception because the XML file has nested elements. That's why the
SimpleDeserializer is throwing an exception when it calls the OnStartChild
function. How do I get around this problem ? Can I use another Deserializer
for this purpose ? How do I approach this problem ?

Thanks,
Vijay.

============================================================================
====

org.xml.sax.SAXException: SimpleDeser cannot handle structured data!
        at
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(Unknown Source)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Unknown
Source)
        at org.apache.axis.message.SAX2EventRecorder.replay(Unknown Source)
        at org.apache.axis.message.MessageElement.publishToHandler(Unknown
Source)
        at org.apache.axis.message.RPCElement.deserialize(Unknown Source)
        at org.apache.axis.message.RPCElement.getParams(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)

Reply via email to