Skip to Content
0
Dec 13, 2022 at 11:02 AM

How to process ZIP file from S4 to with multipart/form-data using HTTP adapter an attached zip file

228 Views Last edit Dec 13, 2022 at 11:08 AM 3 rev

Hi Team,

I have a requirement to process the zip file from S4 Hana to MROIO with multipart/form-data,basic authentication there is no mapping transformation its pass through interface

From S4 (AL11) directory using SFTP CPI is picking the zip file and process same zip file to target MROIO system using Http adapter while posting data getting error'org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking (API url) with statusCode: 406"

In postman its able to posting zip file but it in CPI throwing an error.

I have maintained the header values in content modifier but not working.

Can you please check and help on this requirement.

Attachments

mroio-postman.jpg (80.0 kB)
mroio-postman1.jpg (73.4 kB)