Rest protocol and soap protocol in webservices

Rest protocol and soap protocol in webservices

Postby rao-h2kinfosys » Wed Jan 16, 2013 4:07 am

REST is a lightweight alternative to Web Services and RPC.

Example of Rest protocol

http://maps.googleapis.com/maps/api/geocode/xml?address=300+Prospects%20palce+Alpharetta,+GA,+30005&sensor=false

Representational State Transfer (REST) is software architecture for distributed systems like World Wide Web. REST has emerged as a predominant Web service design model.

REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a stateless, client-server, cacheable communications protocol -- and in virtually all cases, the HTTP protocol is used.

REST is an architecture style for designing networked applications. The idea is that, rather than using complex mechanisms such as CORBA, RPC or SOAP to connect between machines, simple HTTP is used to make calls between machines.

In many ways, the World Wide Web itself, based on HTTP, can be viewed as a REST-based architecture.
RESTful applications use HTTP requests to post data (create and/or update), read data (e.g., make queries), and delete data. Thus, REST uses HTTP for all four CRUD (Create/Read/Update/Delete) operations.



3).what is rest protocol ?
REST stands for Representational State Transfer. (It is sometimes spelled "ReST".)
EST is a lightweight alternative to mechanisms like RPC (Remote Procedure Calls) and Web Services (SOAP, WSDL, et al.). Later, we will see how much more simple REST is.
Despite being simple, REST is fully-featured; there's basically nothing you can do in Web Services that can't be done with a RESTful architecture.
REST is not a "standard". There will never be a W3C recommendation for REST, for example. And while there are REST programming frameworks, working with REST is so simple that you can often "roll your own" with standard library features in languages like Perl, Java, or C#.
rao-h2kinfosys
 
Posts: 49
Joined: Thu Jan 19, 2012 10:27 pm

Return to WebServices - SOA Testing

Who is online

Users browsing this forum: No registered users and 1 guest