on 12-15-2011 12:32 PM
Hi All,
I am working on a SOAP to RFC Scenario With specific requirement of handling the attachment(Mainly Excel Attachments) at the Sender SOAP Adapter.
Kindly Suggest.
I found lot of theoritical stuff but no practical scenario.
Regards,
Sachi
Hi Sachi,
To handle attachment in SOAP sender adapter first of all you will have to use the AXIS message protocol.
Then by using MessageTransformBean you can handle the attachment.
1) Check this link for the module processing sequence used to get the attachment from SOAP
2) Check this blog which will help you on the usage of MessageTransformBean
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/frameset.htm
using MessageTransformBean you can handle only the text file attachments like comma separated file, pipe separated, fixed lengths etc. But if you are looking to handle a excel file you will have to use a java mapping to get the data from excel attached file. for this have a look at this following blog by Shabarish:
Do remember to use SOAP Axis adapter and to tick the keep attachment option.
Hope this helps.
Regards,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply guys.
But my scenario here requires that I do not have read this attachment but pass it as it is to receiver which is RFC.
I am developing a SOAP to RFC scenario where the web service is have having excel attachment.
Is this possible?? Will RFC at R/3 will be able to accept attachments?
If you have a scenario for this or any link explaining the scenario. Please suggest.
Hi Raja,
Can you suggest me how can achieve the sender part.
I have to access a web service which has excel attchment.
I need not have to read this attchment but just pass it on to receiver.
So many llink are there in sdn which suggest writing a adapter module or using SOAP Axis adapter.
But I do not have to read the attchment.
Kindly suggest.
Thanks.
Hi,
In the sender side if you are not looking to read the attachment then it is simple.
Just use the SOAP AXIS adapter and select the keep attachment option,
In the communication channel select the following
Adapter: SOAP
Transport Protocol: Servlet
Message Protocol: Axis
Then under XI Parameters tick the option Keep Attachments.
Hope this helps
Thanks,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.