W3C home > Mailing lists > Public > www-ws-arch@w3.org > July 2002

RE: REST vs. OMA (not SOAP)

From: Champion, Mike <Mike.Champion@SoftwareAG-USA.com>
Date: Thu, 18 Jul 2002 15:05:40 -0600
Message-ID: <9A4FC925410C024792B85198DF1E97E4039C986D@usmsg03.sagus.com>
To: Paul Prescod <paul@prescod.net>, "Champion, Mike" <Mike.Champion@SoftwareAG-USA.com>
Cc: www-ws-arch@w3.org



> -----Original Message-----
> From: Paul Prescod [mailto:paul@prescod.net]
> Sent: Thursday, July 18, 2002 4:30 PM
> To: Champion, Mike
> Cc: www-ws-arch@w3.org
> Subject: Re: REST vs. OMA (not SOAP)
> 
 
> > OK, and if I want to accept (change the status) of an order, I
> > POST a message that contains an "indication" (method, header,
> > noun, verb, whatever) of the action that should be taken and
> > the new status of the resource, right?  
> 
> If you POST a logical "diff" then there is no method. The method is
> implicitly "apply this diff". 

This makes "mechanical"  sense to me in terms of manipulating resource
*representations*, but not in terms of actual *business processes*.
"Accepting an order" implies a lot of "functions" being called behind the
scenes -- databases updated, entries made in ERP systems, physical atoms
moved around warehouses and mailrooms.  It just seems like splitting very
fine theoretical hairs to say that this should be triggered by "applying a
diff" rather than "specifying a method" inside the POST body.
Received on Thursday, 18 July 2002 17:07:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:02 GMT