使用postman 调用 Webservice 接口

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>

猜你喜欢

转载自blog.csdn.net/u010952056/article/details/133679467