axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nguyen Le" <nle95...@gmail.com>
Subject [Axis2]Unknown parsing error
Date Wed, 27 Feb 2008 22:41:01 GMT
Hi,

I am getting the following exception when running my Axis2 test application.
I am migrating from Axis1.4 to Axis2 and my application runs fine in Axis1.4.
Can anybody help me resolve the issue or point me in the correct direction.

org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: Expected
a text token, got START_ELEMENT.
 at [row,col {unknown-source}]: [1,353]
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
    at com.odyssey.webservices.ClientStub.fromOM(ClientStub.java:23545)
    at com.odyssey.webservices.ClientStub.CreateSession(ClientStub.java
:1349)
    at com.odyssey.webservices.Test.main(Test.java:24)
Caused by: org.apache.axiom.om.impl.exception.OMStreamingException:
com.ctc.wstx.exc.WstxParsingException: Expected a text token, got
START_ELEMENT.
 at [row,col {unknown-source}]: [1,353]
    at org.apache.axiom.om.impl.llom.OMStAXWrapper.getElementText(
OMStAXWrapper.java:847)
    at com.odyssey.webservices.ClientStub$TransactionResult$Factory.parse(
ClientStub.java:36570)
    at
com.odyssey.webservices.ClientStub$CreateSessionResponse$Factory.parse(
ClientStub.java:56180)
    at com.odyssey.webservices.ClientStub.fromOM(ClientStub.java:22335)
    ... 2 more
Caused by: com.ctc.wstx.exc.WstxParsingException: Expected a text token, got
START_ELEMENT.
 at [row,col {unknown-source}]: [1,353]
    at com.ctc.wstx.sr.StreamScanner.constructWfcException(
StreamScanner.java:605)
    at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
    at com.ctc.wstx.sr.BasicStreamReader.getElementText(
BasicStreamReader.java:677)
    at org.apache.axiom.om.impl.llom.OMStAXWrapper.getElementText(
OMStAXWrapper.java:845)
    ... 5 more



-- 
Best Regards,

Le

Mime
View raw message