Configuring the first tXMLMap component - 7.3

ESB REST

Version
7.3
Language
English
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 > ESB components > ESB REST components
Data Quality and Preparation > Third-party systems > ESB components > ESB REST components
Design and Development > Third-party systems > ESB components > ESB REST components
Last publication date
2023-06-12

Procedure

  1. Connect tRESTRequest to a tXMLMap using the Row > GetOneUser connection.
  2. Double-click tXMLMap in the design workspace to open the Map Editor.
  3. Click the [+] button on the top right to add an output and name it as ResponseUsers.
  4. Click the [+] button on the bottom right to add two columns for the output.
    Name the first column as body and set the Type to Document.
    Name the second column as string and set the Type to String.
  5. Right-click on the node root and select Create Sub-Element to create a sub-element. Name the sub-element as foo in the popup dialog box.
  6. Right-click on the foo node created in the previous step and select As loop element.
  7. Select the id column of the GetOneUser table to the left and drop it onto the Expression field of the foo node of the ResponseUsers table to the right.
  8. Click OK to save the settings.