Skip to Content
0
Jun 12, 2020 at 12:30 PM

OData receiver iFlow

326 Views

Hi,

I have followed following blog -

https://blogs.integrtr.com/enterprise-integration-with-cpi-1/

I have made OData receiver for

http://services.odata.org/Northwind/Northwind.svc

I am getting below error when I am using Content Type - JSON

com.sap.gateway.core.ip.component.odata.exception.OsciException: org.apache.olingo.odata2.api.ep.EntityProviderException.INVALID_CONTENT [odata.metadata, JsonFeed]null in EntitySet Products'odata.metadata' not expected in 'JsonFeed'.

The same iFlow works fine if I use Atom as content type.

How can I resolve it so that it works for JSON.

Regards