cancel
Showing results for 
Search instead for 
Did you mean: 

oData vs Web Services

07-27-2016 12:37 AM
14122 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi,

     what is the difference between web services and oData.

Thanks and Regards,

Teja

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Teja,

While Webservices is based on SOAP protocol , OData is based on REST and Atom Protocol .

Consumption using Webservices would be tedious task and would need lots of efforts , You need to prepare XML request and response and While in OData , the URL purely takes care of everything.

You just need to build the underlying Entity Models and implement runtime classes

OData is widely accepted and in SAPUI5 the consumption of an OData service is at ease just by invoking the URL, while the same consumption using a webservice requires lots of implementation effort.Since Odata is light weight and can be used for CRUD operations

The Links shared by Aswin are good and read through them would give a nice insight

Best Regards,

Lakshman.

Answers (2)

Answers (2)

Former Member
0 Likes

Hi,

     Thank you for your responses.

Thanks and Regards,

Teja.

AshwinDutt
Active Contributor
0 Likes

Hello Teja,

Please check this.

SAP Netweaver Gateway 2.0 vs. Web Services | SCN

Regards,

Ashwin