Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Tutorial: Calculator

Tutorial: Calculator

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

0 COMMENTS

We’d like to hear from you!