shantanu chawla
2006-07-27 15:24:08 UTC
I am trying to connect to a dot net webservice. I created my axis2
client but when I start running it, it throws this exception. I am new
to axis2 and dont know why it is happening. My client with Axis1.4 is
working very fine. Can anyone guide me to the solution.
Error message I received:
Starting application
org.apache.axiom.om.OMException: java.lang.IllegalStateException
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:206)
at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:144)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:322)
at org.shantanu.axis2test.ClientRegistrationStub.toOM(ClientRegistrationStub.java:498)
at org.shantanu.axis2test.ClientRegistrationStub.toEnvelope(ClientRegistrationStub.java:512)
at org.shantanu.axis2test.ClientRegistrationStub.AuthorizeClient(ClientRegistrationStub.java:102)
at org.shantanu.axis2test.TestingAxis2.main(TestingAxis2.java:15)
Caused by: java.lang.IllegalStateException
at org.apache.xmlbeans.impl.store.Jsr173$XMLStreamReaderForString.next(Jsr173.java:1110)
at org.apache.xmlbeans.impl.store.Jsr173$SyncedJsr173.next(Jsr173.java:1138)
at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:68)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:123)
... 6 more
Exception in thread "main"
thanks
Shantanu Chawla
client but when I start running it, it throws this exception. I am new
to axis2 and dont know why it is happening. My client with Axis1.4 is
working very fine. Can anyone guide me to the solution.
Error message I received:
Starting application
org.apache.axiom.om.OMException: java.lang.IllegalStateException
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:206)
at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:144)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:322)
at org.shantanu.axis2test.ClientRegistrationStub.toOM(ClientRegistrationStub.java:498)
at org.shantanu.axis2test.ClientRegistrationStub.toEnvelope(ClientRegistrationStub.java:512)
at org.shantanu.axis2test.ClientRegistrationStub.AuthorizeClient(ClientRegistrationStub.java:102)
at org.shantanu.axis2test.TestingAxis2.main(TestingAxis2.java:15)
Caused by: java.lang.IllegalStateException
at org.apache.xmlbeans.impl.store.Jsr173$XMLStreamReaderForString.next(Jsr173.java:1110)
at org.apache.xmlbeans.impl.store.Jsr173$SyncedJsr173.next(Jsr173.java:1138)
at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:68)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:123)
... 6 more
Exception in thread "main"
thanks
Shantanu Chawla
--
Graduate Student
Department of Computer Science,
San Diego State University
Graduate Student
Department of Computer Science,
San Diego State University