webMethods step by step EDI To XML File
Jan 19, 2012 09:45 0 Comments Development Pia


OS: WindowsOS

Platform: webMethods 6.1

This task takes EDI data and converts it into XML data. 

To achieve this, the following Flow Steps are used… 

1.    pub.file:getFile

2.    wm.b2b.edi:convertToValues

3.    pub.xml:documentToXMLString

4.    sample.IO.test:writeToFile

1. pub.file:getFile: 

This flow step reads the data according to the specified path and converts into bytes.


Set the Filename path and overwriteflag 

Mapping for this flow step.


2. wm.b2b.edi:convertToValues: 

ConvertToValues service is used to convert the bytes into EDIValues using the EDI schema. (For creating EDI Schema refer How to Create EDI Schema?) 

            Mapping for this flow step.


3. pub.xml:documentToXMLString: 

documentToXMLString service is used to convert the EDIValues into XML data. 

Mapping for this flow step.


4. sample.IO.test: writeToFile:

This flow takes the XMLData and writes into the XML file according to specified path.

Mapping for this flow step


à OverwriteFlag must be specified to overwrite/Append  



Prev Next
About the Author
Topic Replies (0)
Leave a Reply
Guest User

You might also like

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.

Let`s Connect