Configuring the second tXMLMap component - 6.5

ESB REST

author
Talend Documentation Team
EnrichVersion
6.5
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 > 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
EnrichPlatform
Talend Studio

Procedure

  1. Connect tRESTRequest to the other tXMLMap using the Row > GetUserNumber connection.
  2. Double-click the first 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 ResponseUserNumber.
  4. Click the [+] button on the bottom right to add one column for the output.
    Name the first column as body and set the Type to Document.
  5. Right-click on the node root and select Create Sub-Element to create a sub-element. Name the sub-element as number in the popup dialog box.
  6. Right-click on the number node created in the previous step and select As loop element.
  7. Select the string column of the GetUserNumber table to the left and drop it onto the Expression field of the number node of the ResponseUserNumber table to the right.
  8. Click OK to save the settings.