WebMethods scenario on XML TO FLAT FILE
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
