Procedure

Webservice

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Data Management Platform
Talend Data Integration
Talend Data Fabric
Talend Big Data Platform
Talend ESB
Talend Open Studio for MDM
Talend Open Studio for Data Integration
Talend Big Data
Talend MDM Platform
Talend Open Studio for ESB
Talend Data Services Platform
Talend Real-Time Big Data Platform
Talend Open Studio for Big Data
task
Data Quality and Preparation > Third-party systems > Webservice components
Data Governance > Third-party systems > Webservice components
Design and Development > Third-party systems > Webservice components
EnrichPlatform
Talend Studio

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, http://www.webservicex.net/country.asmx?WSDL 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 GetCountryByCountryCode.
  8. In the Parameters area, click the plus [+] button to add a row to the table, then enter a country code, fr in this example..
  9. Then save your Job and press F6 to execute it.
    The country information is returned from the Web service and displayed on the Run view.