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
- In the SOAPUI, select SOAP in the menu bar.
- 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.
- Select Projects > Your_Project_Name >
NumberConversionSOAPBinding > NumberToWords > Request1
- Add a number 25 in the placeholder marked by ?
- In the Authorization tab, select the type as Basic
and provide the login credentials of the webMethods API Gateway instance.
- Click Run.
- The SOAP API starts successfully and returns the status code as 200. The number is displayed in
words in the response body.