Scenario: From EDIFACT to XML - 6.3

Talend Open Studio for Big Data Components Reference Guide

EnrichVersion
6.3
EnrichProdName
Talend Open Studio for Big Data
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.