webMethods step by step XML to Flat file
Task: XML to Flat file
OS: WindowsOS
Platform: webMethods 6.1
First create a dictionary for the flat file,
then create xml document.
create flat file schema with the dictionary.
from the flat file schema create a schemaDT by clicking on the SET properties and give the dictionary path.
In the main flow service put the following service.
1.pub.file:getFile.
In this give the xml file name, load as âbytes.
put pub.xml.xmlStringToXMLNode
put pub.xml.XMLnodeToDocument in that map the document with the reference xmldocument.
put the Map flow step and map the xmldocument elements with the schemaDT elements.
put pub.flatfile:convertToString in that map the schemaDT file to the document and give the schema path.
put sample.IO.test:writeToFile, map the string to filecontent and give the filename and overwriteFlag and overwrite.

huny
Hi i am trying to use list files service to get the files. In directory folder i have mentioned the directory but it gives me error of path is not allowed to read. I have added the path in fileAccessControl configuration file. but its returning same error.