当前位置 : 主页 > 网页制作 > Nodejs >

PostMan测试WebService

来源:互联网 收集:自由互联 发布时间:2021-06-24
选用POST方法 URL填写服务地址 参数选raw,XML(text/xml) 编写soapenv:Body部分,如: soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pm="http://www.getpostman.com/" soapenv:Header/soapenv:He
  1. 选用POST方法
  2. URL填写服务地址
  3. 参数选raw,XML(text/xml)
  4. 编写soapenv:Body部分,如: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pm="http://www.getpostman.com/">
    <soapenv:Header></soapenv:Header>
        <soapenv:Body>
            <pm:sayHello>
                <name>moxun</name>
            </pm:sayHello>
        </soapenv:Body>
    </soapenv:Envelope>

     

​​​​​​​

上一篇:webService的调用
下一篇:4.6Webservice
网友评论