Part 1 – Introduction to RESTful webservice
Introduction to RESTful webservice
What is RESTtful webservice?
Who is using Restful webservice?
Rest vs SOAP
|REST stands for REpresentational State Transfer||SOAP stands for Simple Object Access Protocol|
|REST is not XML protocol based||SOAP is a XML based messaging protocol|
|REST doesn’t have any specification||SOAP has specifications like WSDL etc|
|REST doesn’t enforce message format as XML or JSON||SOAP enforces message format as XML|
|Light weight – due to the usage of JSON||Heavy weight – due to the usage of XML|
|Easy to parse the response||Bit difficult to parse the response|
RESTFul Webservice Request and Response – Drill down
Advantages of using RESTful webservice
RESTful Web services are designed with less dependence on proprietary middleware (for example, an application server) than the SOAP- and WSDL-based kind.
The great fit between Ajax and REST has increased the amount of attention REST is getting these days.
Exposing a system’s resources through a RESTful API is a flexible way to provide different kinds of applications with data formatted in a standard way. It helps to meet integration requirements that are critical to building systems where data can be easily combined (mashups) and to extend or build on a set of base, RESTful services into something much bigger.