Hi,
The error seems to have popped up from the underlying stax parser.
Would you be able to let us in with some more information, perhpas the
actual messages ? This can be done using TCP mon [1]

Ajith
[1] http://ws.apache.org/commons/tcpmon/


On 7/27/06, shantanu chawla <[EMAIL PROTECTED]> wrote:
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
--
Graduate Student
Department of Computer Science,
San Diego State University

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to