Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2282

Better error message for deserialization failure

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            guyrixon Guy Rixon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: