2020 Apr 21 3:45 AM - edited 2024 Feb 03 10:07 PM
I want to consult the difference between ODATA and SOAP, and the usage of SOAP
Request clarification before answering.
Hi rachel.suo
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
You may also find this blog useful for reference.
Thank you!
Amith Nair
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is an old post but it comes up on top of Google search when looking for "SOAP vs OData" in SAP domain. (I'm guessing because someone edited the post in 2024.)
Because of that, I'd like to add some corrections / clarifications to the answer that is currently listed as "Accepted".
1) It talks about "web services" as if it only applies to SOAP. But both SOAP and REST (which OData uses) are in general web services (see Wikipedia).
2) Both OData and SOAP rely on HTTP protocol (what doesn't these days? 🙂 ). SOAP can technically use SMTP but I've never seen an implementation like that in SAP space.
3) Historically, SOAP web services became available in SAP systems first. They were generated from the ABAP function modules and maintained in SOAMANAGER transaction. (Note that there is also SOA = Service-oriented architecture, this is not the same SOA as in SOAP, fun stuff.)
4) Even though SOAP services can still be used and developed, they went out of favor generally (not just in SAP) because REST-based OData services are less "bulky" and gained more adoption in IT outside of SAP. Also, latest ABAP programming model (ABAP RAP / ABAP Cloud) is focused on OData service development. Therefore this is usually the first (but not the only) choice for SAP integration.
Bottom line, it's not as simple as "SOAP = old = bad, OData = good" but in general, SOAP services are used much less these days.
SOAP, REST, and OData are not SAP terms. I'd encourage to read the general information about these (e.g. wiki articles linked here) to become familiar with terminology in general.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are some SAP resources you may review based on your topic "of"
Strategy
Cloud Availability Center is a personalized dashboard with an at-a-glance view into the status of your cloud products; SAP Support Portal, your one stop shop for ?...
https://support.sap.com/en/offerings-programs/strategy.html
SAP Enterprise Support
Cloud Editions of SAP Enterprise Support. The SAP Enterprise Support, cloud editions offering is our foundational success plan included with any cloud?...
https://support.sap.com/en/offerings-programs/enterprise-support.html
License Utilization Information
overview of SAP License Entitlement and SAP Software Usage for SAP Public Cloud and for SAP S/4HANA On-Premise customers.
https://support.sap.com/en/my-support/systems-installations/license-utilization-information.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are some SAP resources you may review based on your topic "of"
Strategy
Cloud Availability Center is a personalized dashboard with an at-a-glance view into the status of your cloud products; SAP Support Portal, your one stop shop for ?...
https://support.sap.com/en/offerings-programs/strategy.html
SAP Enterprise Support
Cloud Editions of SAP Enterprise Support. The SAP Enterprise Support, cloud editions offering is our foundational success plan included with any cloud?...
https://support.sap.com/en/offerings-programs/enterprise-support.html
License Utilization Information
overview of SAP License Entitlement and SAP Software Usage for SAP Public Cloud and for SAP S/4HANA On-Premise customers.
https://support.sap.com/en/my-support/systems-installations/license-utilization-information.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
11 | |
10 | |
9 | |
7 | |
7 | |
6 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.