Search the web
Sign In
New User? Sign Up
service-orientated-architecture · SOA
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Anne on REST (Time for Spring WS v. REST Campaign to Open)   Message List  
Reply | Forward Message #8115 of 13944 |
Benefits of WS-* over REST

Hi Eric,


On Jun 7, 2007, at 7:17 PM, Eric Newcomer wrote:

> What's frustrating are statements like "Web services have no value"
> or "Web services are just RPCs with angle brackets" that are not
> fair descriptions, especially from folks who participated in the
> Workshop in which every effort was made to accomodate the various
> viewpoints and have a balanced discussion. I thought we had
> achieved something there - acknowledging the pros and cons of both
> approaches and getting past the oversimplifications and
> overstatements - so it is discouraging to see it continue. That's
> all.



I honestly would like to see the pros and cons of WS-* and REST
discussed. I don't believe we have, so far - on this list, the
recurring theme is that somebody either (a) points out that REST is
better or (b) REST is not suitable for machine-to-machine
communication. [I'm guilty of (a), although I have a clear conscience
about it :-) ] But I can't recall much serious discussion about the
benefits WS-* has over REST.

So, considering the benefits of SOAP/WSDL/WS-*, I can see them fall
into two categories:

Political (or "soft") factors: Reasons in this category are based on
the acceptance of WS-* among vendors, analysts, and because of this,
among end-users. I know from personal experience that (at least
currently) it's much harder for a consultant to convince a client to
use HTTP in a RESTful way instead of Web services, since Web
services is all they ever hear about. This might mean that it's
easier to get them to adopt the WS-* architecture, which may be a
significant step forward for them. Let's just assume that in many
cases, the "you will not be fired for choosing WS-*" attitude is a
good enough reason.

Technical (or architectural) factors: Politics aside, you seem to
believe, no: you consider it _obvious_ that there are situations
where WS-* is superior to REST from an architectural or technical
point of view. What are those? I'll make some guesses (note that
these don't reflect my opinions)

(1) WS-* is "protocol independent", while REST (in all practical
relevance) is tied to HTTP.
(2) The WS-* specs address "enterprise" concerns that REST/HTTP can't
handle
(3) It's much easier to expose an existing system that has a
"transactional" interface (in the TP monitor sense) via WS-* than via
REST, since the latter requires a real architectural change and the
former doesn't

Are there any other benefits that WSDL/SOAP/WS-* is claimed to have
over REST/HTTP?

For the record, I believe that (1) is an illusion since the HTTP
protocol is just replaced with a different protocol, one that has no
or at least a much worse design, and the protocol independence is an
extremely leaky abstraction in real applications anyway; regarding
(2), the specs that do address enterprise concerns are not yet widely
adopted anyway and in many cases address something that doesn't
belong in the infrastructure layer anyway. I do believe that (3) is a
valid point.

Best regards,
Stefan
--
Stefan Tilkov, http://www.innoq.com/blog/st/



Thu Jun 7, 2007 6:02 pm

stilkov
Offline Offline
Send Email Send Email

Forward
Message #8115 of 13944 |
Expand Messages Author Sort by Date

Mark, No, sorry if I implied this - was not my intention. I agree that the pros and cons of stateless interactions have been fairly described. And for the...
Eric Newcomer
e_newcomer
Offline Send Email
Jun 7, 2007
5:28 pm

Hi Eric, ... I honestly would like to see the pros and cons of WS-* and REST discussed. I don't believe we have, so far - on this list, the recurring theme is...
Stefan Tilkov
stilkov
Offline Send Email
Jun 7, 2007
7:16 pm

Stefan I don't wish to come across as a lover of WS-* above REST. I think its rare that one size fits all, and I think WS-* has some useful benefits - as does...
Paul Fremantle
paulfremantle
Offline Send Email
Jun 8, 2007
9:54 am

Hi Paul, ... That was exactly my point, probably phrased badly. I don't count you among those, but there are people who believe that they don't tie themselves...
Stefan Tilkov
stilkov
Offline Send Email
Jun 8, 2007
2:12 pm

... That sounds wrong. If SOAP is a protocol, why do I need WSDL to describe protocol bindings? Can't I just use SOAP? cheers Bill...
Bill de hOra
bdehora
Offline Send Email
Jun 9, 2007
12:59 pm

Bill ... The idea that you NEED WSDL is one of the biggest misconceptions about Web Services. 1) You don't need WSDL 2) You don't need WSDLs to match (i.e. you...
Paul Fremantle
paulfremantle
Offline Send Email
Jun 9, 2007
1:33 pm

WSDL (Web Service Description Language) is used to define web service’s interface that describes a web service and how to access it. WSDL can be used with...
ash galal
ashrafwg1
Offline Send Email
Jun 9, 2007
3:02 pm

Ash -- I must disagree. ... REST proponents object strongly to WSDL for a number of reasons: 1. It's primarily a tool for defining operations and therefore...
Anne Thomas Manes
annemanes
Offline Send Email
Jun 9, 2007
4:30 pm

... So I can run SOAP over a socket and be done? Great! How come no-one does that? cheers Bill...
Bill de hOra
bdehora
Offline Send Email
Jun 11, 2007
9:38 am

... It runs over TCP. Microsoft support this binding. [1] [1] http://www.codeguru.com/Csharp/Csharp/cs_network/internetweb/article.php/c8821/ Anne...
Anne Thomas Manes
annemanes
Offline Send Email
Jun 11, 2007
12:54 pm

... WSDL doesn't *define* a Web service; it *describes* it. You can also choose to describe it in English or Swahili. If your audience likes it go for it. ... ...
Sanjiva Weerawarana
sanjivaw
Offline Send Email
Jun 10, 2007
5:37 pm

Stefan, Thanks for bringing the conversation back to a meaningful discussion. I believe there is another category of benefits/impediments, which I'll call the...
Anne Thomas Manes
annemanes
Offline Send Email
Jun 8, 2007
10:00 am

Hi Anne, ... I agree. In fact, I think that claims that REST is "easy" or "simple" are wrong, particularly for those who have a background in the CORBA/ ...
Stefan Tilkov
stilkov
Offline Send Email
Jun 8, 2007
2:10 pm

Hi Stefan, Yes, I think your list is a pretty good summary. By the way the reason I'm saying there's value in Web services is that users of them say that they...
Eric Newcomer
e_newcomer
Offline Send Email
Jun 8, 2007
10:00 am

Hi Eric, ... I have to admit that I don't find this particularly convincing, considering that it very much depends on what these people have been doing before....
Stefan Tilkov
stilkov
Offline Send Email
Jun 8, 2007
2:10 pm

... First thing is that neither WS-* or REST are really architectural if we say that architectural is about the business problem. REST is "more" architectural...
Steve Jones
jones.steveg
Offline Send Email
Jun 8, 2007
2:30 pm

... Steve, Can you elaborate? I may not be able to build the Eiffel Tower with wood (I need steel) but that doesn't disqualify wood from being an ...
Peter Walker
petewww
Offline Send Email
Jun 8, 2007
3:22 pm

Wood isn't architecture, nor is steel they are the materials. The architecture is the vision and the concept of what needs to be done and the definition of...
Steve Jones
jones.steveg
Offline Send Email
Jun 9, 2007
12:55 pm

I like the following defintions that Roy Fielding stated: see reference below A software architecture determines how system elements are identified and...
ash galal
ashrafwg1
Offline Send Email
Jun 8, 2007
3:43 pm

Sorry I forgot to the link here you go: Roy Fielding. Principled Design of the Modern Web Architecture. Available from: ...
ash galal
ashrafwg1
Offline Send Email
Jun 8, 2007
3:58 pm

Hi Stefan, A couple of quick points - I find it not a very good practice to argue with customers who say they are getting value out of something... Also I...
Eric Newcomer
e_newcomer
Offline Send Email
Jun 8, 2007
2:42 pm

Eric said: And finally I do not think HTTP implements REST, if I understand it correctly, one can do REST over HTTP pretty easily but one can also do plenty of...
Anne Thomas Manes
annemanes
Offline Send Email
Jun 8, 2007
4:33 pm

... Is it true that a system that makes extensive use of the POST loophole, but only does so where "the origin server is accepting the entity enclosed in the...
Todd Biske
tbiske
Offline Send Email
Jun 8, 2007
5:07 pm

... Todd You are exactly right. But the fact is that you cannot - on the whole - model every aspect of a system as resources. The result is that we need a...
Paul Fremantle
paulfremantle
Offline Send Email
Jun 9, 2007
12:51 pm

POST supports three different method semantics: - create a subordinate resource: this one is idempotent and should be the primary way the POST method is used -...
Anne Thomas Manes
annemanes
Offline Send Email
Jun 9, 2007
12:53 pm

... [snip] ... Would it be correct to say that HTML's Form POST is of this type? Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder & Director; Lanka Software...
Sanjiva Weerawarana
sanjivaw
Offline Send Email
Jun 10, 2007
5:53 pm

... Yes. Very annoying, isn't it? Especially since HTML Form doesn't support PUT or DELETE (both idempotent), so if you want to perform any type of update, you...
Anne Thomas Manes
annemanes
Offline Send Email
Jun 11, 2007
9:38 am

... Form POST can also be PUT; for example updating your personal details. HTML blew it by not allowing PUT in forms many years ago; a nasty frozen accident...
Bill de hOra
bdehora
Offline Send Email
Jun 11, 2007
9:39 am

... This sound like "if a system uses POST the way it's supposed to, is it RESTful"? If this was the question I'd answer that yes, it is (at least in this...
Stefan Tilkov
stilkov
Offline Send Email
Jun 9, 2007
1:00 pm

... [snip] ... Isn't it URIs to "access" rather than identify resources. As a resource URI is opaque it isn't possible to identify the resource from the URI,...
Steve Jones
jones.steveg
Offline Send Email
Jun 11, 2007
9:45 am
 First  |  |  Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help