cancel
Showing results for 
Search instead for 
Did you mean: 

PO send zipped file to rest api

f_cemunal
Participant
0 Kudos

Hello everyone,

Before asking this question i have searched this forum for an answer but couldnt find a suitable one for my situation.

I am using rest receiver adapter to send json payload as a zipped file to rest api. However i am getting below error

"Transmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rest.ejb.sender.InterfaceExtensionFailedException: Could not parse message content to add interface element"

What am i doing wrong , can any one suggest an idea ?

Accepted Solutions (0)

Answers (3)

Answers (3)

f_cemunal
Participant
0 Kudos

Hello Pavan,

thank you for your reply.

My module tab is as below. I am using "AF_Modules/PayloadZipBean" . I also tried message transformation bean but it didnt work.However i may have used it wrong. Could you give an example ?

One more thing when "AF_Modules/PayloadZipBean" is in second place after "sap.com/com.sap.aii.adapter.rest.app/RESTAdapterBean", request is not zipped but response is getting zipped.

babruvahana
Contributor
0 Kudos

Did you try using message transformation bean to convert the payload to zip file?

R/Pavan

f_cemunal
Participant
0 Kudos

The content of the file must be in json format. I have achieved in binary format but i need it in json format