on 07-12-2013 8:02 PM
Hello All,
We have a requirement where only an attachment is sent to PI over HTTP adapter. There is no source payload.
All we need to do is, read the content of the attachment and send it to the target over a file adapter.
Any ideas how to implement this would be helpful.
Aparna
Hi Aparna,
Have you tried with payload swap bean module in HTTP adapter ? If you want to place input attachment on FTP server , use below screen shot as reference
Note : In above screen shot , i used mail adapter . Use above adapter module configuration in sender HTTP communication channel.
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aparna,
Is the attachment in XML or flat? do you want to read the attachment and do transformation in PI or simply pass the file to the target?
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ambrish,
The source attachment might be in a .csv format. Hence we need to read the content of the attachment, and send the content via a file adapter to the target. There is no source payload at all. It is only attachment over a HTTP adapter. Need a work around to meet this requirement.
Aparna
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.