Skip to Content
avatar image
Former Member

File to REST scenario : Error in REST adapter.

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 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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 03, 2017 at 12:50 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 28, 2017 at 05:42 AM

    Can you share the REST receiver adapter configuration. We are also facing the same error, seems like header are not aligned.

    Add comment
    10|10000 characters needed characters exceeded