Vishal,
You start by defining an email listener “port” using the IS
Admin tool.
When the port receives an email from the mailbox you
specify, it will attempt to invoke the flow service
specified in the subject line for each attachment after
first invoking the appropriate content handler. Specify the
service in the form folder:service, for example,
“EmailTest:receive”.
In prior releases you had to create custom content handlers
for CSV files, but I believe that CSV files are now handled
by the default content handler.
To process your CSV file you would create a “handling
service” that has as its input an object called ffdata which
is the output field created by the default content handler.
You can use the pub.flatFile:convertToValues built-in
function to convert the contents of your CSV file into a
record structure (IData object) using a flat-file schema
that defines the file structure. You can optionally
validate the structure of this file against a document or
record structure. See the documentation on Flat File
Handling for instructions on how to create flat file schemas
and flat file processing services.
Hope this helps,
Mark
#Integration-Server-and-ESB#webMethods#webmethods-Protocol-and-Transport