Configuring the output mapping - 7.0

Webservice

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
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 Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Webservice components
Data Quality and Preparation > Third-party systems > Webservice components
Design and Development > Third-party systems > Webservice components
EnrichPlatform
Talend Studio

Procedure

  1. Click Next to open a new view in the editor.
    In the Element list to the left of the view, the output parameter of the web service displays automatically. However, you can add other parameters if you select [+] parameters and then click the plus button on top to display the [Parameter Tree] dialog box where you can select any of the parameters listed.
    The Web service in this example has only one output parameter: GetCountryByCountryCodeResult.
  2. In the panel to the right of the view, click the three-dot button next to Edit Schema to open a dialog box in which you can define the output schema.
  3. In the Output list to the right of the dialog box, click the plus button to add a column to the output schema.
  4. Click in the column and type in a name, Result in this example. This will retrieve the names of the country.
  5. Click OK to validate your changes and to close the schema definition dialog box.
    You now need to create a connection between the output parameter of the defined Web service and the schema of the output component.
  6. In the Element list to the right of the editor, drag parameters.GetCountryByCountryCodeResult to the field that corresponds to the Result column to the right of the editor.
    Note:

    If available, use the Auto map! button, located at the bottom left of the interface, to carry out the mapping operation automatically.

  7. Click OK to validate your changes and to close the editor.
  8. Click the [...] button to open the [Schema] dialog box, and add a column to the output schema, Result in this example. Then click OK to validate the schema setting and close the dialog box.
  9. Double-click the tLogRow component to open its Basic settings view, and click Sync columns to retrieve the schema from the proceeding component.