Linux/Unix系统默认安装了curl,我们可以使用curl命令行方式测试接口
步骤1:
创建一个Soap Envelope,另存为比如request.xml,文件内容为该soap接口消息体,比如如下
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://webservice.tudb.com/"> <soapenv:Header/> <soapenv:Body> <web:ex