Configuring the tXMLMap component

ESB REST

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Big Data
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Data Management Platform
Talend Real-Time Big Data Platform
Talend Data Integration
Talend ESB
Talend Open Studio for ESB
Talend Data Fabric
Talend MDM Platform
Talend Open Studio for MDM
Talend Big Data Platform
Talend Data Services 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 tJavaRow to tXMLMap using the Row > Main connection.
  2. Double-click tXMLMap in the design workspace to open the Map Editor.
  3. Click the [+] button on the bottom left to add a column id of Document type for the input.
  4. Right-click the root node of the input table and select Rename in the contextual menu and rename it customer.
  5. Create a sub-element to the customer node by selecting Create Sub-Element in the contextual menu. Name the sub-element as id in the pop-up dialog box.
  6. Click the [+] button on the top right to add an output and name it as response.
  7. Click the [+] button on the bottom right to add a column body of Document type for the output.
  8. Right-click the root node of the input table and select Rename in the contextual menu and rename it customer.
  9. Create a sub-element to the customer node by selecting Create Sub-Element in the contextual menu. Name the sub-element as id in the pop-up dialog box.
  10. Select the id column from the input table and drop it onto the Expression field of the id node of the output table.
  11. Click OK to save the settings.