一:根据url,方法名,参数访问webService

1.设置url,post格式访问

使用PostMan调用webService

 2.设置Headers

使用PostMan调用webService

 

3.设置body,选择row,设置请求头.

使用PostMan调用webService

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xxx="http://tempuri.org/xxx.xsd" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Header></soapenv:Header>
 <soapenv:Body>
 <xxx:checkValue xmlns="http://www.w3.org/2001/XMLSchema">
    <sId>123456</sId>
    <uId>111111</uId>
 </xxx:checkValue>
 </soapenv:Body>
</soapenv:Envelope>

4.点击send,进行访问获取结果

使用PostMan调用webService

 

5.点击send下的code生成需要的代码:

使用PostMan调用webService

 

二:根据url,设置参数访问webService

设置url,以及get访问:

使用PostMan调用webService

 

2.设置param:

使用PostMan调用webService

3.点击send,获取返回数据

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

相关文章:

  • 2022-02-06
  • 2021-09-02
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-15
  • 2021-08-09
  • 2022-12-23
  • 2022-02-17
  • 2021-07-18
  • 2021-10-09
相关资源
相似解决方案