First, the interface is written using CXF, and the test tool uses SOAPUI 5.2.1
After the installation is an icon like this:
The test operation steps are as follows:
(1) First find cxf-WebService. XML configuration Information address in, in-browser access: http://127.0.0.1:8080/ssg?wsdl will generate a description of the document, directly to the user to connect to
<id= "SSG" implementor= " Cn.exchange.cxf.DataExchangeWebServiceImpl " address="HTTP://127.0.0.1:8080/SSG" ></jaxws:endpoint>
(2) To test the interface using the SoapUI:
Note: Before testing, you must first open the interface project
① After the interface project is turned on, open the tool SoapUi, new (File→create Empty Project), as shown in:
② Right-click the Project Project-add WSDL, as shown in:
Open the page as follows:
③ then go to the following page: ( Modify: Should double-click "Request1")
Double-click "Request1" to see the following window:
④ in "?" Enter the relevant parameters, click Run, if the right blank does not appear the wrong information, the interface method can be used
The test failed as follows: (for different items, the information may vary, depending on the situation, this is not an absolute result)
Test success, such as: (for different items, may indicate that the information is different, depending on the situation, this is not an absolute result)
WebService interface test with SOAPUI tool for interface testing