org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Deserialization error occurs for an array on my Axis client

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

    Root Cause Analysis

    1. org.xml.sax.SAXException

      SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

      at org.apache.axis.message.SOAPFaultBuilder.createFault()
    2. Axis Web Services
      DeserializationContextImpl.endElement
      1. org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
      2. org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
      3. org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
      3 frames
    3. Xerces2-j
      SAXParser.endElement
      1. org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
      1 frame
    4. org.apache.xerces
      XMLParser.parse
      1. org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1456)
      2. org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1260)
      3. org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
      4. org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
      4 frames
    5. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(Unknown Source)
      1 frame
    6. Axis Web Services
      Call.invoke
      1. org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
      2. org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
      3. org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
      4. org.apache.axis.client.Call.invokeEngine(Call.java:2583)
      5. org.apache.axis.client.Call.invoke(Call.java:2553)
      6. org.apache.axis.client.Call.invoke(Call.java:1753)
      6 frames
    7. Unknown
      SecurityTokenServiceClient.main
      1. SecurityTokenServiceClient.main(SecurityTokenServiceClient.java:92)
      1 frame