on 11-20-2009 11:30 AM
Hi guys,
I was wondering if there is any way how to work with XI-SOAP message attachemnts in Adapter modules. Let's say I want to have a mail->file scenario, where I want to pick up an email with attachment, this is sent to XI as a XML payload (email) and it's attachment (file). In the target I want to save the attachment as a file (somewhere) and the main email body will be saved in another file.
There is of course a way to work with the main payload but I haven't seen yet any source code for processing attachments.
Thanks a lot for your help,
Olian
Hi Olian,
PI offers APIs to handle attachments in messages :
http://help.sap.com/javadocs/pi/SP3/xpi/index.html
If your scenario requires custom development to fulfill your needs, you can use those APIs in your custom adapter modules ... PI/XI also offers the PayloadSwapBean module to replace payload with one of the attachments
Hope this helps
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check this blog if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Olian,
According to me I think there is no standard way to do this kind of things, so you have to write the Java modules for this.
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.