The WSDL file that you imported contains most of the information necessary to generate a service connector. You need to add test values and test each action.
Go to the
Actions
tab and select the
Add
action.
Clear the
Preemptive Auth
option.
Click the
Input
tab and enter the following data in the
Test With
field:
{ "intA": 10, "intB": 2 }
After you enter a value in the input field, you must click anywhere outside the row to save the value.
Click the
Test Results
tab, and then click
Test
.
The test is successful and you get an output of 12 as shown in the following image:
Repeat steps
1 through
4 for the Subtract, Multiply, and Divide actions.
Go to the
Actions
Test Results
tab and click
Test
.
A successful result appears.
Click
Save
Publish
.
You have created a service connector to access the Calculator service.