Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.3
-
None
-
None
-
Windows XP SP1 + Sun JDK 1.4.2 + Axis 1.3
Description
I received this error message from an Axis client:
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/}hostname:capc57 org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
Nowhere does this say in which element the fault occured. That makes it very hard to debug. Instead of repeating the basic message in the fault detail, it would be better to state the element that was being deserialized and also the child element that caused the exception.