linux服务器中模拟调用soapui调用webservice接口

服务器需要安装curl,命令如下:

1.新建1.xml请求报文文件

 

2.执行命令

curl --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction:xxx" --data @1.xml http://xx/IdentityService?wsdl

 

SOAPAction:打开soapui获取该接口对应的值

 

posted on 2020-11-11 13:28  猿猿不断  阅读(1295)  评论(0)    收藏  举报

导航