Getting the sum of two numbers using tWebServiceInput - 7.3

Webservice

Version
7.3
Language
English (United States)
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Webservice components
Data Quality and Preparation > Third-party systems > Webservice components
Design and Development > Third-party systems > Webservice components

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.