Skip to Content
Oct 24, 2019 at 12:51 PM

REST ADAPTER with multipart/form-data

399 Views Last edit Oct 29, 2019 at 01:47 PM 2 rev

Hi Team,

I have a requirement like need to send as a below format with rest receiver adapter.

Content-Disposition: form-data; name="app name" -- (Header of the body)

{"Request": {

"Header": {
"Order": "123",
"Detail": [
"countermeasure": "EA",
"line Number": "1"
"countermeasure": "EB",
"line Number": "2"
------WebKitFormBoundary9wFXXXXXud--(Footer of the body)

in Header i need to maintain the details like below

Content-Type:multipart/form-data; boundary=----WebKitFormBounda7777777qud

The above details are maintainer under HTTP Header tab. request body format acheived by java mapping .

Now am facing an issue when i try to send to target system getting an error like "500: Time out reached while waiting for response".

I can able to reach the server but data going as an empty to target system. due to this its throwing an 500 error.

Data format i have used as Binary and content type as given multipart/form-data.

Note: I tried to execute with postman with Operation mapping output. Its working fine. When ever try to send data from PO system its giving an error.

Kindly check this one and advise on this.

Thanks in advance