当前位置:首页 > 编程笔记 > 正文
已解决

使用postman 调用 Webservice 接口

来自网友在路上 177877提问 提问时间:2023-10-11 21:34:02阅读次数: 77

最佳答案 问答题库778位专家为你答疑解惑

1. 先在浏览器地址栏 访问你的webService地址

地址格式: http://127.0.0.1:8092/xxxx/ws(这个自己的决定)/xxxxXccv?wsdl
 

2. post man  POST 访问wwebService接口

地址格式: http://127.0.0.1:8092/xxxx/ws(这个自己的决定)/xxxxXccv

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pm="http://xxx.xxxxx.ws.xxxxx.xxxxxx.com">
   <soapenv:Header/>
   <soapenv:Body>
      <pm:暴漏的方法>
          <message>
           <![CDATA[
            {"k1":"v1","k2":"v2"}
         ]]>
          </message>
      </pm:暴漏的方法>
   </soapenv:Body>
</soapenv:Envelope>

查看全文

99%的人还看了

猜你感兴趣

版权申明

本文"使用postman 调用 Webservice 接口":http://eshow365.cn/6-19011-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!