1 Reply Latest reply on Apr 22, 2016 11:21 AM by 1718081

    XMLStreamException seen when an EBS webservice client is invoked.

    1718081

      Hi,

       

      I have attached the EBS Client code that I am using to invoke one of the web services operation. When I tried to invoke the getJobDetails operation, I see the below error(Stack Trace below).

      I generated the Client code using wsdl definition with axis 2(1.6.4) and Apache tomcat version- 7



      • org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,50]

      Message: White spaces are required between publicId and systemId.

      at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)

      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)

      at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)

      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)

      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

      at com.oracle.xmlns.apps.wip.soaprovider.plsql.xxpowl_eng_utilities.XXPOWL_ENG_UTILITIES_ServiceStub.gET_JOB_DETAILS(XXPOWL_ENG_UTILITIES_ServiceStub.java:510)

      at com.oracle.xmlns.apps.wip.soaprovider.plsql.xxpowl_eng_utilities.XXPOWL_ENG_UTILITIES_ServiceTest.testgET_JOB_DETAILS(XXPOWL_ENG_UTILITIES_ServiceTest.java:94)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at junit.framework.TestCase.runTest(TestCase.java:176)

      at junit.framework.TestCase.runBare(TestCase.java:141)

      at junit.framework.TestResult$1.protect(TestResult.java:122)

      at junit.framework.TestResult.runProtected(TestResult.java:142)

      at junit.framework.TestResult.run(TestResult.java:125)

      at junit.framework.TestCase.run(TestCase.java:129)

      at junit.framework.TestSuite.runTest(TestSuite.java:255)

      at junit.framework.TestSuite.run(TestSuite.java:250)

      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)

      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)

      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      Caused by: org.apache.axiom.om.DeferredParsingException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,50]

      Message: White spaces are required between publicId and systemId.

      at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:706)

      at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)

      at org.apache.axiom.core.CoreParentNodeSupport.ajc$interMethod$org_apache_axiom_core_CoreParentNodeSupport$org_apache_axiom_core_CoreParentNode$buildNext(CoreParentNodeSupport.aj:58)

      at org.apache.axiom.om.impl.llom.OMDocumentImpl.buildNext(OMDocumentImpl.java:1)

      at org.apache.axiom.core.CoreParentNodeSupport.ajc$interMethodDispatch1$org_apache_axiom_core_CoreParentNodeSupport$org_apache_axiom_core_CoreParentNode$buildNext(CoreParentNodeSupport.aj)

      at org.apache.axiom.core.CoreParentNodeSupport.ajc$interMethod$org_apache_axiom_core_CoreParentNodeSupport$org_apache_axiom_core_CoreParentNode$coreGetFirstChild(CoreParentNodeSupport.aj:75)

      at org.apache.axiom.om.impl.llom.OMDocumentImpl.coreGetFirstChild(OMDocumentImpl.java:1)

      at org.apache.axiom.core.CoreParentNodeSupport.ajc$interMethodDispatch1$org_apache_axiom_core_CoreParentNodeSupport$org_apache_axiom_core_CoreParentNode$coreGetFirstChild(CoreParentNodeSupport.aj)

      at org.apache.axiom.core.CoreDocumentSupport.ajc$interMethod$org_apache_axiom_core_CoreDocumentSupport$org_apache_axiom_core_CoreDocument$coreGetDocumentElement(CoreDocumentSupport.aj:33)

      at org.apache.axiom.om.impl.llom.OMDocumentImpl.coreGetDocumentElement(OMDocumentImpl.java:1)

      at org.apache.axiom.om.impl.common.AxiomDocumentSupport.ajc$interMethod$org_apache_axiom_om_impl_common_AxiomDocumentSupport$org_apache_axiom_om_impl_common_AxiomDocument$getOMDocumentElement(AxiomDocumentSupport.aj:25)

      at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:1)

      at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:582)

      at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:578)

      at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:198)

      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)

      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)

      ... 26 more

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,50]

      Message: White spaces are required between publicId and systemId.

      at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)

      at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)

      at org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138)

      at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:691)

      ... 42 more

       

       

      Let me know if  I am missing something here.

       

      Regards,

      Ambika. K