0 Replies Latest reply: Sep 6, 2013 3:52 PM by vht RSS

    org.xml.sax.SAXException: Invalid element    error when using code in view project

    vht

      I have a SOAP (RPC style) client bundled in a jar. It uses Axis1.4.

       

      I have created a ADFBC model project with programmatic view & entity objects that uses this soap client for CRUD operations.

       

      The Model project works fine when I run the Appmodule and a standalone java tester class.

      This model project is then deployed as a library and included in a different ADF web application.

      When running this application, I get the following exception for one method.

       

       

      Has anyone faced this issue? Any idea what's going on?

      Surprisingly, "dbAttributes" -the cause of the error is not even in the User class (or any other class in the entire application)!

       

      I am using JDeveloper 11.1.1.5. Issue occurs in integrated wls.

       

      AxisFault

      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

      faultSubcode:

      faultString: org.xml.sax.SAXException: SomeClass - dbAttributes

      faultActor:

      faultNode:

      faultDetail:

        {http://xml.apache.org/axis/}hostname:localhost.localdomain

       

       

      org.xml.sax.SAXException: Invalid element in some.package.User - dbAttributes

        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)

        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

        at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)

        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)

        at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)

        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)

        at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)

        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

        at org.apache.axis.client.Call.invoke(Call.java:2767)

        at org.apache.axis.client.Call.invoke(Call.java:2443)

        at org.apache.axis.client.Call.invoke(Call.java:2366)

        at org.apache.axis.client.Call.invoke(Call.java:1812)

        at some.package.ManagerSoapBindingStub.createUser(ManagerSoapBindingStub.java:879)

        at some.package.Proxy.createUser(Proxy.java:294)