cancel
Showing results for 
Search instead for 
Did you mean: 

REST Receiver Adapter - Multipart/form-data

rama7161
Explorer
0 Kudos

Hi All,

I have the scenario to send the incoming IDOC data into 3rd party.3rd party system only accepts attachments. So first i need to convert the incoming IDOC data into the required JSON format and send the same paylaod as attachment to the 3rd party. I tried using REST Receiver with POST operation. But when is use the HTTP header as multipart/form-data, it send the empty message. The data is not captured wither under data or form.

HTTP header Content-Type: mutipart/form-data and the same thing i have given in the MTB also.How to achieve this. Any pointers are most helpful for me. How to set the parameters in REST receiver for sending data under the form.

My PO system is PO 7.31 SP 17.

Regards,

Ramalakshmi.G

Accepted Solutions (0)

Answers (2)

Answers (2)

rama7161
Explorer
0 Kudos

I tried it. its not working. Any pointers to send the file using HTTP_AAE adapter. Because 3rd party system accept only the data as a file and it is multipart/form-data.Especially they want the data under the form.

apu_das2
Active Contributor
0 Kudos

Can you try once with payloadSwapBean.