Before you begin
Make sure that you have
About this task
This example explains how you can create a SOAP API by importing the numberconversion.wsdl
file.
Procedure
- Download numberconversion.wsdl from
https://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL
- Open the menu options and select APIs.
- Click Create API.
- Select Import API from file.
- Click Browse and select the numberconversion.wsdl file.
- Click Open.
Note: Based on the specification used in the imported file, webMethods API Gateway auto populates the
Type field. SOAP API supports the WSDL specifications.
- Provide the API name as NumberConverter in the Name
field.
- If you provide an API name, webMethods API Gateway overwrites the API name that is specified in the
uploaded file.
- If you do not provide an API name, the webMethods API Gateway retains the API name that is specified in the
uploaded file.
- If you do not provide an API name and the uploaded file does not have an API name, then the API
name is displayed as Untitled.
- Provide the version number as 1.0 in the Version
field.
- Select the TypeType as since the imported
NumberConverter API is a WSDL file.
- Provide the description as Converts numbers to words or dollars in the
Description field.
- Select the team as TestAPITeam for which you want to assign the
NumberConverter API in the Team field.
Note: This field appears only when the Team feature is enabled. It displays only the teams that you
are a part of. If you have the User management functional privilege, all teams are displayed. You
can select more than one team.
- Click Create.
The
NumberConverter API is
created with the following operations:
- NumberToDollars
- NumberToWords
- Now that you created the NumberConverter API, you can check whether it is
imported properly by using any of the API testing tools. To know more about how to test the SOAP
API, see Testing the imported SOAP API by using SOAPUI.