cancel
Showing results for 
Search instead for 
Did you mean: 

REST ADAPTER- Sending only attachment with out body

0 Kudos
812

Hello Team,

We have a requirement where we need to send the payload only through the attachment with the payload in the body (i.e. maindocument).

We have used Java Mapping to send payload as an attachment and selected enable attchement option in REST Receiver adapter. With this logic, Along with the intented payload (eg : Order1.xml) , the payload in the body(i.e. Maindocument.xml) is also being sent out as one more attchement to REST Url, which we would like to Avoid. Is there any way send only Attchement to Rest URL rather that actual body. Any suggestions are appreciated.

Thanks,

Sirisha.

View Entire Topic
former_member607993
Contributor
0 Kudos

Hello Sirisha,

Did you try the Payload swap bean module to achieve it?