Hi,
On trying to generate Java from a SOAP Response, my code terminates with the
following stack trace:
10:33:01 [test1] CTGDIS495I handleException , callreply,
org.xml.sax.SAXException: SimpleDeserializer encountered a child element,
which is NOT expected, in something it was trying to deserialize.
10:33:01 [test1] CTGDIS810E handleException - cannot handle exception ,
callreply
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a
child element, which is NOT expected, in something it was trying to
deserialize.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
SimpleDeserializer encountered a child element, which is NOT expected, in
something it was trying to deserialize.
at
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:147)
at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1037)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
The parameters passed to getParams() is:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:sy="http://services.ws.itim.ibm.com";
xmlns:my="http://model.ws.itim.ibm.com";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
Name
ITEM
false
Kevin Kovach
erglobalid=3282108447695803762,ou=0,ou=people,erglobalid=,ou=Motorists,o=MOTORISTS
Person
While parsing this SOAP Response, the SOAPBodyElement generated is:
http://services.ws.itim.ibm.com";>
http://model.ws.itim.ibm.com";>
Name
ITEM
http://model.ws.itim.ibm.com";>false
http://model.ws.itim.ibm.com";>Kevin
Kovach
http://model.ws.itim.ibm.com";>erglobalid=3282108447695803762,ou=0,ou=people,erglobalid=,ou=Motorists,o=MOTORISTS
http://model.ws.itim.ibm.com";>Person
and it fails with the Deserialization error at the point:
Name
Could anyone help in understanding why? Is there something wrong with the
SOAP Response xmlString? Please help in fixing this. Its really urgent!
Thanks in Advance.
Archana.
--
View this message in context:
http://www.nabble.com/Deserialization-error%3Aorg.xml.sax.SAXException%3A-SimpleDeserializer-encountered-a-child-element%2C-which-is-NOT-expected%2C-in-something-it-was-trying-to-deserialize.-tp25377515p25377515.html
Sent from the Axis - User mailing list archive at Nabble.com.