通过接口url查是哪个服务,以及WebService接口调用soapui使用
通过接口url查是哪个服务及调用WebService接口soapui使用
接口文档:

url: http://137.32.126.168:8080/services/queryCardType?wsdl(测试环境)
通过上面的url:http://137.32.126.168:8080/services/queryCardType?wsdl知道,所在服务器是137.32.126.168
进入137.32.126.168这个服务器:

通过上面url: http://137.32.126.168:8080/services/queryCardType?wsdl知道所占用的端口是8080
找到8080进程id:
netstat -tunpl | grep 8080

根据进程id找到项目
ps -ef|grep 47544

找到项目jar包部署的路径:
find ./ -name soapws.jar

soapUI使用(用于webService接口测试):
入参:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://quickstart.samples/xsd">
<soapenv:Header/>
<soapenv:Body>
<xsd:getCardInfo>
<!--Optional:-->
<input><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<requestMessage>
<modelName>EC8B</modelName>
<pageNo>1</pageNo>
<pageSize>20</pageSize>
</requestMessage>
]]></input>
</xsd:getCardInfo>
</soapenv:Body>
</soapenv:Envelope>
一:新建一个soap工程

二:连接到自己要测试的接口

三:填写入参,并执行

返回失败报文:

返回成功报文:
