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.
hi all,
thanks for u r positive response…
till now i am getting only root tag…
my flow service contains the below services…
1:getFile
2.bytesToString
3:XMLStringToXMLNode
4:XMLNodeToDocument
5:convertToString
i only get root node…
i created flat file schema also
i don,t what mistake done by me…
can u pleae tell me the changes…
Thanks
Vasanth
hi friends,
finally i got results…
actually i forogt one mapping, in the step xmlNodeToDocument…
change: that is service out document is mapped to xml document (earlier i mapped to flat file document directly).