Re: REST vs. OMA (not SOAP)

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

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