Better error message for deserialization failure
------------------------------------------------

         Key: AXIS-2282
         URL: http://issues.apache.org/jira/browse/AXIS-2282
     Project: Apache Axis
        Type: Improvement
  Components: Serialization/Deserialization  
    Versions: 1.3    
 Environment: Windows XP SP1 + Sun JDK 1.4.2 + Axis 1.3
    Reporter: Guy Rixon
    Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to