webMethods step by step XML to EDI
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.
Mapping for this flow step.
2. pub.xml:xmlStringToxmlnode : xmlStringToxmlNode service is used to convert the bytes into a xmlnode
Mapping for this flow step.
3. Pub.xml:xmlnodeTodocument: xmlNodeToxmlDocument service is used to convert the node into a xml document.
Mapping for this flow step.
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 :
5. sample.IO.test:writeToFile:
This flow takes the EDIValues and writes into the file according to specified path.
Mapping for this flow step.
