Postman如何测试Webservice接口?
一般情况下使用soapui工具测试ws接口,那么能不能使用postman测试呢?当然可以,往下看。
1. 首先请求类型为post 填写上ws地址 ,url地址后不追加?wsdl
2. 设置请求头 header Content-type text/xml
3. 填写请求体内容 raw
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.xfire.xerp.nstc.com">
<soapenv:Header/>
<soapenv:Body>
<ser:send>
<ser:in0><![CDATA[
<XERP>
<HEAD>
<BIZCODE>8800</BIZCODE>
</HEAD>
<BODY></BODY>
</XERP>
]]></ser:in0>
</ser:send>
</soapenv:Body>
</soapenv:Envelope>

响应内容:

相关推荐
huimeiad 2020-11-23
充满诗意的联盟 2020-08-23
ljsfighting 2020-06-05
bbccaaa 2020-06-04
Alassad 2020-05-20
bbccaaa 2020-07-28
82387067 2020-11-03
bbccaaa 2020-11-03
ljsfighting 2020-10-31
小马的学习笔记 2020-10-23
chenhaimeimeng 2020-09-15
82387067 2020-08-15
ljsfighting 2020-07-28
ljsfighting 2020-07-18
ljsfighting 2020-07-05
Alassad 2020-06-29
Teamomc 2020-06-28