W3C home > Mailing lists > Public > www-ws-arch@w3.org > February 2004

RE: REST wrap-up (was Re: Web Services Architecture Document

From: He, Hao <Hao.He@thomson.com.au>
Date: Mon, 9 Feb 2004 14:18:29 +1100
Message-ID: <686B9E7C8AA57A45AE8DDCC5A81596AB0922DFC4@sydthqems01.int.tisa.com.au>
To: "'Jim Webber'" <Jim.Webber@newcastle.ac.uk>, Mark Baker <distobj@acm.org>
Cc: www-ws-arch@w3.org
Yes, if you define just two verbs: SEND and RECEIVE, then it is RESTful.
Even better, if you make them the standard part of your SOAP, then all
systems can SEND and RECEIVE independent of underline protocals. 

The only question is: why re-invent the wheel?  We already have the Web,
which has already defined a small set of verbs.  Your SEND and RECEIVE are
just the same as POST and GET.


-----Original Message-----
From: Jim Webber [mailto:Jim.Webber@newcastle.ac.uk]
Sent: Monday, 9 February 2004 13:42
To: Mark Baker
Cc: www-ws-arch@w3.org
Subject: RE: REST wrap-up (was Re: Web Services Architecture Document

Hey Mark:

> A message is not an application abstraction, it's the means 
> by which an abstraction is utilized.  Using the canonical 
> stock quote example, the stock is the abstraction (the thing 
> with the interface), and the messages manipulate that 
> abstraction using that interface.

No, no, no. It is up to me what my abstractions are, and at the WSA
level I choose "message" (hey, this is like Pokemon!). That message
might convey stuff which is resolved by the application into something
more specific (e.g. a stock quote), but that is not important at this

Maybe I can put it in REST-like terms (in fact Savas and I have just
been discussing this very topic): a Web Service has two operations -
SEND and RECEIVE, which involve the use of an abstraction that I call a
"SOAP message." This is like your generic REST interfaces, except this
interface is independent even of URI scheme and doesn't care what
transfer protocol you use.

All you care about is that messages are sent and received, therefore
mesasge is a valid abstraction. It might not be valid from your
perspective, but then it strikes me that not much that I work in
generally is :-)


Received on Sunday, 8 February 2004 22:16:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:05:58 UTC