Skip to main content Skip to complementary content

Getting the sum of two numbers using tWebServiceInput

Procedure

  1. Drop a tWebServiceInput component and a tLogRow component from the Palette onto the design workspace.
  2. Link the two components using a Row > Main connection.
  3. Double-click the tWebServiceInput component to open its Basic settings view.
  4. Click the [...] button next to Edit schema to open the Schema dialog box and define the schema for the response from the Web service.
    In this example, the schema is composed of only one column: Result.
  5. In the WSDL field, specify the WSDL URL of the Web service to be used, https://www.crcind.com/csp/samples/SOAP.Demo.CLS?WSDL=1 in this example.
  6. If you are using a proxy server, select the Use http proxy check box and enter the necessary connection information.
  7. In the Method name field, enter the method to be used. Note that the method name is case sensitive.
    In this example, we use the method AddInteger.
  8. In the Parameters area, click the plus [+] button to add a row to the table, then enter a number, 3 in this example.
  9. Add number 4 in the Parameters area in the same way.
  10. Then save your Job and press F6 to execute it.
    The sum of the two numbers is returned from the Web service and displayed on the Run view.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!