Configuring the 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 tFixedFlowInput to tXMLMap using the Row > Main connection.
  2. Connect tXMLMap to tRESTClient using the Row > Main connection, and name the output flow request in this example.
  3. Double-click tXMLMap in the design workspace to open the Map Editor.
  4. Right-click on the node root in the output table and select Create Sub-Element. Name the sub-element as person in the popup dialog box.
  5. Right-click on the person node created in the previous step and select As loop element.
  6. Create two sub-elements to the person node by selecting Create Sub-Element in the contextual menu, id, and name in this use case.
  7. Select the id column from the input table and drop it onto the Expression field of the id node of the output table.
  8. Select the name column from the input table and drop it onto the Expression field of the name node in the output table.
  9. Click OK to save the settings.