Scenario: From EDIFACT to XML - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
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 Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

This scenario describes a simple Job that reads a UN/EDIFACT Customs Cargo (CUSCAR) message file and saves it as an XML file.

  1. Drop the tEDIFACTtoXML component and the tFileOutputXML component from the Palette to the design workspace.

  2. Connect the tEDIFACTtoXML component and the tFileOutputXML component using a Row > Main connection.

  3. Double-click the tEDIFACTtoXML component to show its Basic settings view.

  4. Fill the EDI filename field with the full path to the input EDIFACT message file.

    In this use case, the input file is 99a_cuscar.edi.

  5. From EDI version list, select the EDIFACT version of the input file, D99A in this use case.

  6. Select the Ignore new line check box to skip the carriage return characters in the input file during the transformation.

  7. Leave the other parameters as they are.

  8. Double-click the tFileOutputXML component to show its Basic settings view.

  9. Fill the File Name field with the full path to the output XML file you want to generate.

    In this use case, the output XML is 99a_cuscar.xml.

  10. Leave the other parameters as they are.

  11. Save your Job and press F6 to run it.

    The input EDIFACT CUSCAR message file is transformed into the XML format and the output XML file is generated as defined.