Calculator > Create a Service Connector and a Connection > Step 2: Test Actions
  

Step 2: Test Actions

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.
    1Go to the Actions tab and select the Add action.
    2Clear the Preemptive Auth option.
    3Click 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.
    4Click 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:
    This image depicts the Test tab of the service connector. The Add action has been succesfully tested. You see the result 12.
    5Repeat steps 1 through 4 for the Subtract, Multiply, and Divide actions.
    6Go to the Actions > Test Results tab and click Test.
    A successful result appears.
    7Click Save > Publish.
You have created a service connector to access the Calculator service.