加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Webservice问题

发布时间:2020-12-17 00:16:38 所属栏目:安全 来源:网络整理
导读:转载自:http://bbs.csdn.net/topics/390425730 S:Envelope?xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"S:Headernn:licenseInfo?xmlns:nn="http://service.soap.org/"1233/nn:licenseInfo/S:HeaderS:Bodyns2:login?xmlns:ns2="http://service.soap

转载自: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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读