Skip to Content
avatar image
Former Member

REST adapter or OData adapter

HI All

I have recently read a blog about release of REST adapter for SAP PI for consumption and provisioning of rest based services.

Previously there was also OData adapter .

Whts the differnce? Still do we have both or only REST adapter.

Please clarify

Regards

Sandeep

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 04, 2015 at 08:41 PM

    Hi Sandeep

    Based on the following blog by Alexander Bundschuh, both REST and OData adapters are available.

    New adapters for running hybrid scenarios with SAP Process Integration

    REST is an architectural style and and is not strictly limited to one particular protocol. Any service that conforms to the constraints of the architectural style can be called a RESTful service.

    OData on the other hand is an OASIS standard that defines best practice for building RESTful APIs.

    In short, you could say that OData is a subset of REST.

    In terms of the adapters provided by SAP, I would say that you would use the OData adapter if the service you are consuming is a specific OData RESTful API, while you would use the REST adapter for other non-OData RESTful APIs.

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Eng Swee Yeoh

      Hi Eng Swee

      Thanks for the reply

      Yes will try using both and need to check the difference.

      And REST adapter  also doesnt require additional license but Its avialable only  7.31 SP14 / 7.4 SP09 and its not downward portable.

      Regards

      Sandeep

  • Mar 27, 2015 at 02:20 PM

    Hi Sandeep,

    Did you try out both Adapters? I wonder what the differences are and if you can consume ODATA on the REST Adapter.

    Also, is it possible with any of the two Adapters to be an ODATA Service Provider? Or can we just consume ODATA Services?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Peter,

           Currently the OData adapter supports only receiver channel. Which means we can only consume OData services with the OData adapter.

      For exposing your OData services, there is a new add on component with the latest release of PO which is known as the Integration Gateway. This works in a similar fashion to the SAP Netweaver Gateway but with limited functionality.