on 11-14-2017 9:38 AM
1.What iare the major Difference between Odata and Rest web service ?
2. Is Odata is Web service ?
3.Why we use Odata ?
Thanks in Advance
Balreddy
Hi Bala,
Here difference in C4C is WSDL is based SOAP UI based and OData is similar to REST API's based if you want to Run or test WSDL than use SOAP UI tool and if you want to run/ test OData use Advacne Rest Client or any REST Tool to execute it.
As per my knowledge :
OData is display result in JSON or XML format.
WSDL is display result in XML format
You can use standard OData and you can create custom OData from front-end "Service Explorer"
FYI
REST is a generic design technique used to describe how a web service can be accessed. Using REST you can make http requests to get data. If you try it in your browser it would be just like going to a website except instead of returning a web page you would get back XML. Some services will also return data in JSON format which is easier to use with Javascript.
OData is a specific technology that exposes data through REST.
If you want to sum it up real quick, think of it as:
REST - is an architecture of how to send messages over HTTP.
OData V4- is a specific implementation of REST, really defines the content of the messages in different formats (currently I think is AtomPub and JSON). ODataV4 follows rest principles.
BR,
Keshav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.