使用postman调用webservice接口
查看webservice接口的wsdl文档,可以获得相关参数:
postman接口类型一般设置为post类型,参数选择Body格式的raw中的text/xml类型,然后在header中增加字符编码为utf-8
然后根据wsdl获取的参数编辑相关的postman请求参数,<![CDATA[]]>中包裹的为参数值,如:
<![CDATA[
<REQUEST>
<HEADER>Bearer</HEADER>
<PARAM>
<register_no>16106284715261</register_no>
<register_time>20210124205433</register_time>
<apply_type>1</apply_type>
<id_type>01</id_type>
<id_card>371103199611206371</id_card>
<name>张三</name>
<gender>1</gender>
<birthday>19961120</birthday>
<cellphone>15353358815</cellphone>
<telephone></telephone>
<address></address>
<unit></unit>
<nation></nation>
<qrcode_type>1</qrcode_type>
<realname_flag>1</realname_flag>
</PARAM>
</REQUEST>
]]>