WebMethods scenario on XML TO FLAT FILE
Dec 21, 2011 21:21 0 Comments Development Pavan

Normal 0 false false false EN-IN X-NONE X-NONE

Pre requisites:

   XML Document (XML Ref Document)

              Flat file Dictionary

              Flat file Schema DT

              Flat file Schema

1) Get the xml content into IS using the service

        Pub . file . get file

2) Use the service to convert xml string to xml node.

Pub . XML . XML String to XML Node

                                     Map  ->   Bytes -  file data

3) Then use the service to transform xmlnode to XMLDT

                           Pub . XML .XML Node to Document

                                                            Node – node

                                        Pipeline out –  XML Document ref.

4) Map the source (XML DT) to target (Flat file DT)

                                                                 Map

                                       XML Document – flat file Schema DT

5) use the service to convert the Flat DT to flat file string.

                                        Pub. flat file . converts to string

                                        Flat file schema DT -  flat file values

                                        Flat file schema -  path

6) use the service to deliver the output to the destination as a flat 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