You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Chepo <st...@gmail.com> on 2012/07/26 16:27:21 UTC

Generated programatically using WSDL2Code class stub doesn't work

org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxParsingException: Expected
a text token, got START_ELEMENT. at [row,col {unknown-source}]: [1,589] at
org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at
org.wso2.carbon.um.ws.service.RemoteUserStoreManagerServiceStub.fromOM(RemoteUserStoreManagerServiceStub.java:42745)
at org.wso2.carbon.um.ws.service.RemoteUserStoreManagerServiceStub.getUserClaimValues(RemoteUserStoreManagerServiceStub.java:5350)
at adr.IdentityServerClient.main(IdentityServerClient.java:87) 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,589] at
org.apache.axiom.om.impl.SwitchingWrapper.getElementText(SwitchingWrapper.java:957)
at javax.xml.stream.util.StreamReaderDelegate.getElementText(Unknown
Source) at org.wso2.carbon.um.ws.service.RemoteUserStoreManagerServiceStub$GetUserClaimValuesResponse$Factory.parse(RemoteUserStoreManagerServiceStub.java:34053)
at org.wso2.carbon.um.ws.service.RemoteUserStoreManagerServiceStub.fromOM(RemoteUserStoreManagerServiceStub.java:42468)
... 2 more Caused by: com.ctc.wstx.exc.WstxParsingException: Expected a
text token, got START_ELEMENT. at [row,col {unknown-source}]: [1,589] at
com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461) at
com.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.java:677)
at
org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.getElementText(XMLStreamReaderWrapper.java:100)
at
org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.getElementText(XMLStreamReaderWrapper.java:100)
at org.apache.axiom.om.impl.SwitchingWrapper.getElementText(SwitchingWrapper.java:953)
... 5 more



-- 
колкото повече - толкова повече :Р