我们将 drupal soapservice 用于 Web 服务。当我们尝试调用soapservice时,它返回结果但axis2抛出以下错误......
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)