webMethods step by step XML to EDI
Feb 08, 2012 22:19 0 Comments Development Tomas

 

Task: XML to EDI

OS: WindowsOS

Platform: webMethods 6.1

 

This task takes the xml data and writes into edi format.                                                                                                               

To do this following FlowSteps are used.

 

1.    pub.file:getFile

2.    pub.xml:xmlStringToxmlnode

3.    Pub.xml:xmlnodeTodocument

4.    wm.b2b.edi:convertToString

5.    sample.io.test.writeToFile

 

1.    pub.file:getFile :This flow step reads the data from the file specified in the path and converts into bytes.


alt


Mapping for this flow step.

alt


2. pub.xml:xmlStringToxmlnode : xmlStringToxmlNode service is used to convert the bytes into a xmlnode 

Mapping for this flow step.

alt


3. Pub.xml:xmlnodeTodocument: xmlNodeToxmlDocument service is used to convert the node  into a xml document. 

Mapping for this flow step.


alt



4. Wm.b2b.edi: convertToString:  convertToValues service is used to convert the document into a EDIValues using the EDI schema. (For creating EDI Schema refer How to Create EDI Schema?) 

Mapping for this flow step :


alt


5. sample.IO.test:writeToFile: 

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

Mapping for this flow step.

alt 


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