Configuring the tXMLMap component in the output flow - 7.0

ESB SOAP

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 > ESB components > ESB SOAP components
Data Quality and Preparation > Third-party systems > ESB components > ESB SOAP components
Design and Development > Third-party systems > ESB components > ESB SOAP components
EnrichPlatform
Talend Studio

About this task

The tXMLMap in the output flow will convert the response message from the XML format to the row/column structure.

Procedure

  1. In the design workspace, double-click the tXMLMap component in the output flow to open the Map Editor.
  2. In the input table, right-click the root node and select Rename from the contextual menu. Enter IsValidEmailResponse in the dialog box that appears.
  3. Right-click the IsValidEmailResponse node and select Set A Namespace from the contextual menu. Enter http://www.webservicex.net in the dialog box that appears.
  4. Right-click the IsValidEmailResponse node again and select Create Sub-Element from the contextual menu. Enter IsValidEmailResult in the dialog box that appears.
  5. Right-click the IsValidEmailResult node and select As loop element from the contextual menu.
  6. On the lower right part of the map editor , click [+] to add a row of String type to the output table and name it response.
  7. Click the IsValidEmailResult node in the input table and drop it to the Expression column in the row of the response node in the output table.
  8. Click OK to validate the mapping and close the Map Editor.