Skip to main content Skip to complementary content

Creating a soapUI project

From the Projects node of the soapUI Navigator, you are able to create soapUI projects that allow you to execute soapUI testing.

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.

Procedure

  1. 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.
  2. 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 OK.
  3. The new project appears in the navigator and the WSDL is added to it. A sample request Request1 is created for the getAirportInformationByISOCountryCode operation.
  4. 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.
  5. Replace ? with CN as the input in the Request panel and click the icon to submit the request to the specified endpoint URL.
  6. The response of the submitted request is shown in the Response panel.

Results

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!