• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP vs REST

 
Julia Chapman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ppl,

I am having a hard time deciding which Web Service to implement for my coming project. SOAP or REST Can you people please throw some thoughts and explain the difference between how SOAP and REST APIs work so I can come to some conclusions. I am totall new to Web Services and just started to read about them. Any help is kindly appreciated.

Thanks,
-Julia
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may find this discussion to be helpful.
Bill
 
Julia Chapman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks William,

That helped me read more about REST, but what I was actually looking for is some behavioral differences in the performances of SOAP and REST. If some one could still point on to that it would be great.

-Julia
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This topic What is REST web service ? which framework i need to learn it has some links to other resources.

As mentioned in that thread REST isn't an API its an architectural style. That means that there is very little tool support for the development of REST-style web services. REST is potentially more performant than SOAP based web services as the features of the HTTP infrastructure are used directly. For SOAP, HTTP is only one of many possible transports (though its the one that is predominantly used). SOAP can accommodate many additional features like message level security, multi-node processing, etc. but this extensibility comes at the price of additional overhead.
 
Watsh Rajneesh
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also want to read this.
 
Sumit Amar
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
REpresentational State Transfer, is a methodology to perform web application "actions". these actions could be GET, PUT, POST, DELETE, HEAD etc. In your web application if you're looking to gather some data back from a web resource, you'd want to use GET request. REST provides CRUD (create update delete) functionality through form actions. For intstance in order to add a record, you'd use PUT request and POST for update, DELETE for removing (or signaling to remove). It's much lightweight and easier to implement REST than SOAP request. It's less organised too, you might want to check AJAXPATTERNS.ORG website to learn a bit more about this methodology/pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic