Hi vasanth,
Make a flat file schema in developer based on xml file.
once you get document by using pub:XMLNodetoDocument, invoke “pub.flatfile:convertToString” service, map document ---->ffValues
you can set value for ffSchema, means the namespace where you have made flat file schema.
Rest other inputs are optional, for more refer “FlatFileSchemaDevGuide.pdf”
the output of “pub.flatfile:convertToString” , contains the parsed flatfile, which you got from directory.
Regards,
Puneet Saxena
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB