Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Are Web Services really necessary, why not use the alternatives?

Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are quite a few alternatives available to Web Services these days:

REST / HTTP Invocations.

You can argue that WebServices is SOAP/HTTP(similar), but implementing WebServices is far more complex than other integration mechanisms. Even the original idea of discovering WebServices (via UDDI etc) seem to have been lost now.

What do you think: is the complexity involved in WebServices justify their usefulness?

For example:
Google Docs - provides REST-Style/HTTP calls for invoking its services. It does not provide WebServices interrface. This is true of many such integrations as well.
Posts: 43027
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You seem to be equating "web services" with "SOAP-based services". But the technologies you mention are not alternatives to "web services", they are alternatives to "SOAP-based web services". So the question you seem to be asking is really "What's the benefit, if any, of SOAP over REST (and/or other HTTP/XML service approaches)?" One of the benefits are the capabilities that come with the full SOAP stack as implemented by the various WS-* standards, like WS-Security and BPEL. If a particular service implementation doesn't need those, then, indeed, the overhead of SOAP may not be justifiable.

True, UDDI has failed to take off (although, interestingly, a new version of the standard is forthcoming), since web service registries in general have not established themselves. But that's not a failure of SOAP, that just means that the market has developed in a different direction than originally anticipated. So it can just be ignored, and doesn't add any complexity to SOAP itself.

The links to several articles that cover this in more detail in the "What is REST?" section.
Author and all-around good cowpoke
Posts: 13078
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(parenthetical thought - congratulations to whoever did the FAQ page Ulf points to - that is a great resource)
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic