In this scenario, we will create a SoapUI project and add the WSDL file that has been used in the previous sections to the project to access the given web service.
In the soapUI Navigator, which is the tree structure at the
left in the SoapUI GUI, right click the Projects node and
select New soapUI Project.
The [New soapUI project] wizard opens. Enter a project name in
the Name field, for example, airport in this use case.
In the Initial WSDL/WADL field, click
Browse to navigate to the existing WSDL file
airport_0.1.wsdl. Keep the default settings of the other options and click
The new project appears in the navigator and the WSDL is added to it. A sample
request Request1 is created for the
Double click Request1 to open the code editor to the right
of the navigator. The URL of the web service is shown in the address bar and the
sample request Request1 is shown in the Request panel. The
? indicates that an input parameter air:CountryAbbrviation is needed
for this operation. The Response panel is empty.
Replace ? with CN as the input in the Request panel and click the
icon to submit the request to the specified endpoint URL.
The response of the submitted request is shown in the Response panel.
As we have configured in the data service provider Job, Beijing Capital and Shanghai Hongqiao are the airport names corresponding to the country code CN. So here we have got the expected response, which means the web service can be implemented successfully.