on 06-16-2011 3:54 PM
I receive multiple attachments when I receive a message on the RNIF 2.0 sender adapter. But the content type gets converted to application/octet-stream when it is passed to the integration engine. I need the original content-Type of the attachment as I need to save the file.
This is the MIME Header of the attachments from the RNIF channel
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-ID: d30d9084-7b07-1000-8271-0a0e06110001
Content-Description: Document
Content-Disposition: inline
Content-Type: application/msword
Content-Transfer-Encoding: base64
Content-ID: d30d9084-7b07-1000-a6fd-0a0e06110001
Content-Description: Document
Content-Disposition: inline
This is what I see in sxmb_moni
attachment1(application/octet-stream)
attachment2(application/octet-stream)
Since the attachment can have different content types on different messages, I need to get the actual Content-Type which the message came with. I tried AF_Modules/MultipartHeaderBean in the sender channel but it did not help. When I retrieve the attachment content type in my java code it comes as application/octet-stream.
Anyone worked with multiple attachment with RNIF throw some insight here.
Any help on this is greatly appreciated.
Thanks in Advance
Asif
I opened a ticket with SAP and they fixed the bug with SAP Note: 1609803.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.