Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

SOAP vs REST

 
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
 
Author and all-around good cowpoke
Posts: 13078
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
 
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.
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also want to read this.
 
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.
 
Yup, yup, yup. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic