AxisFault: javax.xml.stream.XMLStreamException:

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AxisFault: javax.xml.stream.XMLStreamException:

jeyaprakash
This post was updated on .
we have used a simple static stub to call the webservice.there is a problem parsing the response XML by the axis static stub but axis2 throws the following error...  




org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: element text content may not contain START_ELEMENT
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
 at com.chm.api.login.client.DrupalSoapStub.fromOM(DrupalSoapStub.java:12249)
 at com.chm.api.login.client.DrupalSoapStub.userLogin(DrupalSoapStub.java:1408)
 at SocketClient.main(SocketClient.java:144)
Caused by: java.lang.Exception: javax.xml.stream.XMLStreamException: element text content may not contain START_ELEMENT
 at com.chm.api.login.client.DrupalSoapStub$UserLoginResponse$Factory.parse(DrupalSoapStub.java:59804)
 at com.chm.api.login.client.DrupalSoapStub.fromOM(DrupalSoapStub.java:11473)
 ... 2 more
Caused by: javax.xml.stream.XMLStreamException: element text content may not contain START_ELEMENT
 at org.apache.axiom.om.impl.SwitchingWrapper.getElementText(SwitchingWrapper.java:981)
 at javax.xml.stream.util.StreamReaderDelegate.getElementText(StreamReaderDelegate.java:100)
 at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.getElementText(XMLStreamReaderWrapper.java:100)
 at org.apache.axiom.util.stax.debug.XMLStreamReaderValidator.getElementText(XMLStreamReaderValidator.java:76)
 at com.chm.api.login.client.DrupalSoapStub$UserLoginResponse$Factory.parse(DrupalSoapStub.java:59770)
Loading...