This discussion is archived
0 Replies Latest reply: Jul 12, 2012 12:39 AM by 948967 RSS

org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException

948967 Newbie
Currently Being Moderated
we are using drupal soapservice.we are getting response in xml format but it does not convert into soapclient format. we have used a simple static stub to call the webservice but we are getting 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)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points