ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] What Does SOAP/WS Do that A REST System Can't?
by Michael Champion other posts by this author
Mar 31 2005 10:10AM messages near this date
Re: [xml-dev] What Does SOAP/WS Do that A REST System Can't? | Re: [xml-dev] What Does SOAP/WS Do that A REST System Can't?
& XSLT On Thu, 31 Mar 2005 10:34:18 -0500, Mark Baker <distobj@[...].org>  wrote:

>  To keep it simple, I'll just focus on GET.  The "verify", "check", and
>  "determine" actions you mention above all seem to map well to it.

I don't buy that.  GET has well defined semantics that don't map in
any obvious way to a conventional meaning of "verify".  Sure, you
could define an interface contract (or whatever the RESTifarian term
for that is) that says something like "GET the URI returned by the
POST of the order and find the VerifyOrder element and GET that URI,
if it returns a 200 your order was accepted" or whatever.  I don't
dispute that HTTP provides some very nice and universally deployed
tools for this that sensible people should use whenever practical.  I
dispute that there is a simple and direct mapping from  the actions /
services in a non-trivial distributed application to the HTTP verbs.  
It can be done, but you don't get it for free as a "uniform
interface."

>  
>  Using SOA, with separate "verify", "check", and "determine" operations,
>  in order to get the resulting data from those actions in the hands of a
>  single client component, that component has to be developed with support
>  for all three operations.  If a new "get me data"-like operation is
>  added, which isn't "verify", "check", or "determine", then that
>  client needs to be upgraded to support it too.

In a resource-oriented architecture, new features are handled by
defining new URIs to manipulate,, new interpretations of HTTP return
codes,  new synatax or semantics of the documents transferred,
whatever. How can  clients nott need to understand those details in
order to use the features?   Or better yet, point me to a concrete
example on the Web.

Dare mentions than in a service-oriented aggregator, " If later on a a
new service shows up (e.g. getRecentBookmarks() to get RSS feeds from
del.icio.us) then the client has to be upgraded."   Sure, but
SOMETHING on the client has to change in a RESTful version as well ...
not the method for retrieving data, which can be GET, but the logic
for doing anything that understands the distinction between a news
story and a bookmark has to come from somewhere.   Unless of course
your are just treating news items and bookmarks as text to be shown to
the user ... I completely agree that SOA is massive overkill if the
"service" being offered is getting arbitrary stuff from the web and
displaying it.

> 
>  Using the uniform interface, a client need only support the GET
>  operation in order to retrieve data from all services, past, present,
>  and future.

Retrieve data, sure.  Doing  anything useful with the data requires
the same old shared understanding about schemas and semantics that
everyone else struggles with.  Maybe the Semantic Web will make that
all work Real Soon Now.  Been hearing that for a Long Time Now. .Until
then you get no free lunch at the RESTaurant.

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php> 
Thread:
Claude L Bullard
Marc de Graauw
Joe Gregorio
Bill de hÓra
Michael Champion
Uche Ogbuji
Jan Algermissen
Uche Ogbuji
Rich Salz
Jan Algermissen
Rich Salz
Michael Champion
Bill de hÓra
Michael Champion
Uche Ogbuji
Bill de hÓra
Robert Koberg
Peter Hunsberger
Michael Champion
Leigh Dodds
Jan Algermissen
Leigh Dodds
Bill de hÓra
Michael Champion
Leigh Dodds
Michael Champion
Rick Marshall
Bill de hÓra
Robert Koberg
Rich Salz
Leigh Dodds
Rich Salz
Leigh Dodds
Rich Salz
Leigh Dodds
Andrzej Jan Taramina
Rich Salz
Bob Foster
Jan Algermissen
Mark Baker
Michael Champion
Michael Champion
Mark Baker
Mark Baker
Michael Champion
Bill de hÓra
Rich Salz
David Lyon
Rich Salz
Joe Gregorio
Rich Salz
Joe Gregorio
Saptagirisa N
Arvind Singh
Rich Salz
Joe Gregorio
Rich Salz
Joe Gregorio
Rich Salz
Dave Pawson
Mark Baker
Joe Gregorio
Mark Baker
Rich Salz
Michael Champion
Elliotte Rusty Harold
Joe Gregorio
Michael Champion
Jan Algermissen
Bill de hÓra
Joe Gregorio
Charles Woerner
Rich Salz

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved