SoapUI debugging soap protocol interface

The following records the steps of using SoapUI to debug the soap protocol interface, so that there is a reference for later use.

One: Right-click Projects in the left column and select the New SOAP Project option to create a project for debugging the soap protocol interface.

Two: Fill in the interface address in the pop-up window. Here we take the interface for querying the attribution of a domestic mobile phone number as an example.
 : "http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl"

 

Three: You can see that there are four interfaces. We want to debug the interface named "getMobileCodeInfl", so find it in the tree list and double-click Request1 under it.

 Four: Then enter the required value in the message, and click the green button in the upper left corner to request the interface.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://WebXml.com.cn/">
   <soapenv:Header/>
   <soapenv:Body>
      <web:getMobileCodeInfo>
         <!--Optional:-->
         <web:mobileCode>186********</web:mobileCode>
         <!--Optional:-->
         <web:userID></web:userID>
      </web:getMobileCodeInfo>
   </soapenv:Body>
</soapenv:Envelope>

 

 

 

Guess you like

Origin blog.csdn.net/weixin_45963929/article/details/126642637