webMethods scenario on Flat File to XML
Dec 21, 2011 21:13 0 Comments Development Pavan

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

1)    Use the service to get the flat file into IS

Ø  Pub : file : get file


2)  Use the service to convert bytes data to values

Ø  Pub : flatfile : convert to values

            Map  the below values:

                                     Bytes                flat file data

                                     Flat file schema             path

    Pipe out               Reference flat schema DT


3) Map step to map the Flat DT to XML DT

Ø  Map

Reference  flat schema DT                  Reference XML document


 4) Use the service to convert XML DT to xml string

Ø  Pub : XML : document to XML string

    XML document                     document


5) Use the service to write the xml contents to a destination file.

Ø  Sample . Io . test . write to file.


Pre – Requisites: 

          Flat file dictionary

             Flat file schema

             Flat file  schema DT

             XML  document (manual)

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