Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST vs SOAP

 
Arun Prasath
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follks,

when do we go for developing SOAP and RESTful webservices?

How do we decide whether to choose SOAP based or REST based web services?

What are the advantages we gain by choosing RESTful webservices over SOAP web services?

Could anyone answer me?

Thanks,
Arun Prasath
 
Dawn Charangat
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
REST is infact lightweight SOAP.

If you need your apps to refrain from creating the overhead of soap envelope creation etc [read portable/mobile devices] you will have to resort to REST
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a lot of comparisions on the internet about those two (e.g. http://www.devx.com/DevX/Article/8155).
Maybe also interesting for you:
http://www.se-radio.net/podcast/2008-05/episode-98-stefan-tilkov-rest
http://www.se-radio.net/podcast/2008-02/episode-85-web-services-olaf-zimmermann
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reading the below url may provide more useful info regarding REST.

http://en.wikipedia.org/wiki/Representational_State_Transfer
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
REST is infact lightweight SOAP.


This is a very misleading statement. Thinking in REST terms is NOT a simplified version of SOAP.

REST is a design philosophy, SOAP is a protocol for messaging developed as an extension of XML-RPC.

The wikipedia article cited is a good start.

Bill
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dawn Charangat wrote:REST is infact lightweight SOAP.

RESTful Web Services is lightweight, but no lightweight SOAP .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic