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 Mark Baker other posts by this author
Mar 31 2005 7:43AM 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 Wed, Mar 30, 2005 at 10:00:10PM -0500, Michael Champion wrote:
>  The "identical data" is an order document, "order" as in a document
>  describing a set of goods or services to be purchased.  The various
>  services might be to submit an order, verify that an order was
>  submitted, check the status of an order, determine when an order can
>  be fufilled,  process the order to cause it to be fufilled, cancel and
>  order, and so on.  So, somehow or other these different operations
>  need to be part of the interface.

Ok, though I would have personally avoided the term "operation" since
that might be interpreted to be suggestive of a (form of) solution.
I'll use "action", as in "something that happens" (implementation),
distinct from "something that is requested to happen" (interface).

>   If I understand REST theory, one
>  would have different URIs for these different services/operations and
>  would GET/PUT/POST/DELETE order documents to the appropriate URI.

Right.

>   In
>  a SOAP interface, one could have different endpoints for each, I
>  suppose, but most people would probably have a single endpoint and
>  have each request specify some sort of an operation code to determine
>  which service to request.   How is this more complex than having
>  distinct URIs to determine which service to request?   You can pay the
>  complexity tax with nouns (URIs) or you can pay it with verbs
>  (operations/service identifiers), but you have to pay it.

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.

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.

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

Mark.
-- 
Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca

-----------------------------------------------------------------
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