cancel
Showing results for 
Search instead for 
Did you mean: 

File to REST scenario : Error in REST adapter.

sswati
Explorer
0 Kudos

Hi,

I am having a simple scenario as File-->REST(PUT). The error that I am getting is as below:

Transmitting the message to endpoint <local> using connection File_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

I am using a dummy service interface as well as namespace as I just need to pick the content of file and PUT on the REST endpoint irrespective of data.

When I replace the File channel with a SOAP channel in EO QoS the same configuration runs fine.

Can anyone please suggest anything on this?

Thanks,

Swati

View Entire Topic
sswati
Explorer
0 Kudos

since the content doesnot need to be modified hence the source message format in REST rec adapter could be made JSON and then the scenario runs fine.

0 Kudos

Hi ,

I have also have same requirement could you please share me what configuration have you done in rest receiver adapter.