on 12-28-2015 11:56 AM
Hi Experts,
I have a scenario of sending attachment along with payload to 3rd Party.
SAP ECC (SOAP Adapter)--> PI --> 3rd Party (SAP REST Adapter)
Could anyone please suggest if it is possible to send attachment using REST adapter provided by SAP.
Hi Manjula
Attachments are not supported in SAP's REST adapter. Please refer to the following SAP Online library link.
REST Adapter Overview - Advanced Adapter Engine - SAP Library
As suggested by Maheswarareddy, you can opt for the SOAP adapter instead as it supports attachment in the receiver channel and it behaves like an HTTP POST. You can check "Do not use SOAP envelope" so that the payload is transferred to the receiver system without the SOAP envelope.
If you still can't resolve it, please elaborate further on your scenario especially what is the receiver system and its constraints/requirements.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Manjula,
You can go through the below post and follow Eng's suggestion of using payloadswapbean -
https://scn.sap.com/thread/3728639
Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure about REST adapter whether that supports , but why don't you use SOAP instead Rest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Not sure of SAP REST adapter but yes it is possible to send attachments using Advantaco REST's Adapter.
Regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.