Testing the imported SOAP API by using SOAPUI

About this task

You can test the SOAP API by starting the API from SOAPUI. SOAPUI is just one example of a third-party SOAP test client.

This section describes the steps to how you can test the NumberConverter SOAP API. In this example, with the imported SOAP API, you can convert a number to the word format.

Procedure

  1. In the SOAPUI, select SOAP in the menu bar.
  2. In the new SOAP project, provide the following information.
    • Project Name = Your_Project_Name
    • Initial WSDL field = Value in the Documentation > Artifacts fields in webMethods API Gateway.
    • Select the Created Requests field.
    • Click OK.
  3. Select Projects > Your_Project_Name > NumberConversionSOAPBinding > NumberToWords > Request1
  4. Add a number 25 in the placeholder marked by ?
  5. In the Authorization tab, select the type as Basic and provide the login credentials of the webMethods API Gateway instance.
  6. Click Run.
  7. The SOAP API starts successfully and returns the status code as 200. The number is displayed in words in the response body.