on 10-15-2007 7:59 AM
Hi,
Seeking your inputs as how to send more than 1 file ( *.txt, *.jpg etc..)
as attachments using FTP adapter.
Thanks in advance,
Regards,
Pavithra
Hi Pavithra,
Use the option additional file in the sender file adapter.
Regards
San
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The sender file adapter is configured to pick the normal payload which is specified in the File access parameters, and the additional image file that is to be sent as an attachment is configured under the Additional File(s).The file type will be binary.
<b>
Also refer</b>
http://sapient.xi.googlepages.com/xi-excellentintegration
<b>check this link</b>
<b>refer this doc</b>
<b>Configuring the sender FILE adapter</b>
The sender file adapter is configured to pick the normal payload (file1.xml), which is specified in the File
access parameters, and the additional image file (file1.jpg) that is to be sent as an attachment is configured
under the Additional File(s) as shown in the screenshot below. The file type would still remain binary.
Since, by default, XI sends payload and attachments in XML format, we need to call two beans, namely the
MessageTransformBean and the PayloadSwapBean to help us is transforming the content to jpeg format
and also change the file extension.
The PayloadSwapBean module is used to replace the application payload of the XI message that holds the
data with another payload which is appended to the message as an attachment. In our case, the payload
would be file1.xml whereas the attachment would be file1.jpg
The swap module is denoted in our scenario with the module key swap. It has two parameters from the
MIME header.
Thanks !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.