I want to get the body of the email message (not the attachment) in my flow service. I have configured a port and it is connected to exchange server and everything looks okay. I send email to the given user and my flow service is invoked. If I save the pipeline to the file I see the email message in that.
Following is the pipeline of my saved file
<?xml version="1.0" encoding="UTF-8"?>
d:/tmp/Ammad/processEmail_pipeline.xml
Initialized
initialized
<record name="transport" javaclass="com.wm.util.Values">
<value name="protocol">email</value>
<record name="email" javaclass="com.wm.util.Values">
<value name="subject">Fax: Tx NOT 'ok' Report</value>
<value name="contenttype">text/plain;
charset="us-ascii"</value>
<value name="sentdate">Thu May 15 16:41:07 EDT 2008</value>
<array name="from" type="value" depth="1">
<value>Ammad Amjad <aamjad@lendersfc.com></value>
</array>
<array name="to" type="value" depth="1">
<value>victorsdevmail <victorsdevmail@lendersfc.com></value>
</array>
<array name="replyto" type="value" depth="1">
<value>Ammad Amjad <aamjad@lendersfc.com></value>
</array>
</record>
</record>
The prblemm is I can not read the boxy of the message which has been underlined and made italic above.
Please let me know how can I read those values in some variable of pipeline so that I can parse and process as required for the business.
Please remember the email does no have any attachment and I want to just read the email body message.
Any help is greatly appreciated.
Thanks
Ammad
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services