IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
    
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerworks > My developerWorks >  Dashboard > Bobby Woolf: WebSphere SOA and J2EE in Practice > Miscellaneous Technologies > REST vs. SOAP-WSDL
developerWorks
Log In   View a printable version of the current page.
Overview Connect Spaces Forums Wikis
REST vs. SOAP-WSDL
Added by bwoolf, last edited by bwoolf on Nov 10, 2008  (view change)
Labels: 
(None)

REST vs. SOAP/WSDL

I've had several blog postings comparing REST withSOAP/WSDL. They include some especially good comments from readers:


When to use what

An emerging best practice seems to be:

  • Use REST for user interfaces and perhaps client apps, where a human is doing the work. These apps seem to be more forgiving: If the GUI messes up, the user notices and tries something else. REST can be especially useful with Ajax, where simplicity is prized over correctness.
  • Use SOAP/WSDL for application integration, where apps are talking to each other without human intervention nor supervision. In this context, strong interfaces, provable correctness, and management and migration of service interfaces are prized over simplicity.

So the question to be asked is: What if the interface changes and the integration breaks? If that's no big deal or easy to fix, use REST; otherwise, use SOAP/WSDL.


Resources


 
    About IBM Privacy Contact