Actually, its alot easier then that…
do the following.
getFile…gets flatfile from operating system
bytesToString… will take the body record and convert to string
tokenize… will provide a delimiter separated file to loop over a space
LOOP over /valueList…will loop over the string,insert the delimiter
tokenize…this will add a comma between fields
recordToDocument …this will build a record structure…set encode to true and generateRequiredTags to true…
Thats it…
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods