• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

REST vs SOAP

 
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
 
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
 
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
 
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
 
Author and all-around good cowpoke
Posts: 13078
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
 
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 .
 
reply
    Bookmark Topic Watch Topic
  • New Topic