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

Re: REST vs. OMA (not SOAP)

From: Mark Baker <distobj@acm.org>
Date: Thu, 18 Jul 2002 13:42:32 -0400
To: "Burdett, David" <david.burdett@commerceone.com>
Cc: www-ws-arch@w3.org
Message-ID: <20020718134232.S28437@www.markbaker.ca>

On Thu, Jul 18, 2002 at 09:39:27AM -0700, Burdett, David wrote:
> I do think there is a need for some kind of "method" name in the SOAP
> envelope. This is needed for both RPC and document style SOAP. For example
> sending "AcceptOrder" might be a reasonable method name to use when sending
> a purchase order to a supplier, just as "DeleteRecord" would be reasonable
> when sending a delete record request to a remote database.
> Whether or not it also goes in the HTTP header is dependent on how you want
> to bind SOAP to HTTP.

Not the header, the HTTP *method*.  That's why it's called a method. 8-)

So if you want to delete a record, use HTTP DELETE, if you want to
revise an existing order, use PUT, etc..

Mark Baker, CTO, Idokorro Mobile (formerly Planetfred)
Ottawa, Ontario, CANADA.               distobj@acm.org
http://www.markbaker.ca        http://www.idokorro.com
Received on Thursday, 18 July 2002 13:30:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:57 UTC