on 01-04-2015 8:31 AM
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
Hi Sandeep
Based on the following blog by Alexander Bundschuh, both REST and OData adapters are available.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.