webMethods XML to EDI scenario
Dec 24, 2011 23:21 0 Comments Development Pavan

  Pre requisites:

EDI dictionary (Empty) EDI Schema DT (Created through sef parse) EDI schema XML Document (XML Document type)   

ref : XML file Sef parse [ for populating Edi dictionary with data and for creating EDI schema DT] (Wm . EDI . b2bn. Edi .Sef parse)  

 1) Get the xml content into IS using the service                      

    pub . file . getfile

  2) Use the service to transform xml string to xml node                        

  pub . XML . XML String to XML Node Map:                                             

    bytes – file data  

3) Transform xml node to XML DT                       

 pub . XML .XML Node to document Map:         

                                         node - node               

                  pipeline out – XML Document  ref.

  4)  Use   MAP step to map XML DT to EDI DT      

             XML Doc ref – EDI Schema DT Ref  

5) use the service to transfom EDI DT to string       

                    Wm . b2b . Edi . convert to string    

 Map:                                   

                   Edi schema DT -  flat file value         

                                             Flat file schema – Edi schema path  

6) Map the resultant output to a destination file        

                   Sample . Io . test .write to file  

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