转载自:http://bbs.csdn.net/topics/390425730
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><nn:licenseInfo xmlns:nn="http://service.soap.org/">1233</nn:licenseInfo></S:Header><S:Body><ns2:login xmlns:ns2="http://service.soap.org/"><username>admin</username><password>1234</password></ns2:login></S:Body></S:Envelope>Exception in thread "main" com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://service.soap.org/}loginResponse but found: {http://service.soap.org/}login
at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.verifyTag(UnkNown Source)
at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.verifyTag(UnkNown Source)
at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(UnkNown Source)
at com.sun.xml.internal.ws.client.sei.SyncmethodHandler.invoke(UnkNown Source)
at com.sun.xml.internal.ws.client.sei.SyncmethodHandler.invoke(UnkNown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(UnkNown Source)
at $Proxy34.login(UnkNown Source)
at org.soap.service.Test.main(Test.java:16)
经过handler的时候,返回false了。。。。所以一直没有response
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。