Xfire调用.net web Service的问题 100
.net生成的webService通过IBM的ESB进行转发,我现在用xfire进行调用,系统报下面的错误,有人遇到过相似的问题吗?Causedby:com.ctc.ws...
.net生成的web Service通过IBM的ESB进行转发,我现在用xfire进行调用,系统报下面的错误,有人遇到过相似的问题吗?
Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "xmlns"
at [row,col {unknown-source}]: [1,284]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:467)
at com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElementStack.java:368)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2945)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
at org.codehaus.xfire.util.stax.DepthXMLStreamReader.next(DepthXMLStreamReader.java:252)
at org.codehaus.xfire.util.stax.FragmentStreamReader.next(FragmentStreamReader.java:79)
at org.codehaus.xfire.util.jdom.StaxBuilder.buildTree(StaxBuilder.java:466)
at org.codehaus.xfire.util.jdom.StaxBuilder.build(StaxBuilder.java:215)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.readHeaders(ReadHeadersHandler.java:134)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:59)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Client.onReceive(Client.java:406)
... 11 more 展开
Caused by: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "xmlns"
at [row,col {unknown-source}]: [1,284]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:605)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:467)
at com.ctc.wstx.sr.NsInputElementStack.resolveAndValidateElement(NsInputElementStack.java:368)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2945)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
at org.codehaus.xfire.util.stax.DepthXMLStreamReader.next(DepthXMLStreamReader.java:252)
at org.codehaus.xfire.util.stax.FragmentStreamReader.next(FragmentStreamReader.java:79)
at org.codehaus.xfire.util.jdom.StaxBuilder.buildTree(StaxBuilder.java:466)
at org.codehaus.xfire.util.jdom.StaxBuilder.build(StaxBuilder.java:215)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.readHeaders(ReadHeadersHandler.java:134)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:59)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Client.onReceive(Client.java:406)
... 11 more 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询