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

Re: New snapshot of the Web Services Architecture Usage Scenarios

From: Mark Baker <distobj@acm.org>
Date: Tue, 16 Jul 2002 21:59:21 -0400
To: Martin Chapman <martin.chapman@oracle.com>
Cc: www-ws-arch@w3.org
Message-ID: <20020716215921.S22722@www.markbaker.ca>

Hi Martin,

On Tue, Jul 16, 2002 at 03:09:36PM -0700, Martin Chapman wrote:
> <shield-UP>
>    Considering the harvesting work and the interesting REST discussions,
> aren't these scenarios a bit SOAP specific for publication?
>    Is there anyway to make these generic without loosing info and
> without prejudicing current and future discussions?
> </shield-UP>)>

FWIW, I don't have an objection to SOAP being used (though I'd prefer
it not be exclusive), but I would ask that the SOAP examples be made

Contrary to some what people think, REST and SOAP are compatible - just
not in the way most people use SOAP.

For example, S001 says;

<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2002/06/soap-envelope">
    <r:StockPriceUpdate xmlns:r="http://example.org/2001/06/quotes">

which could be done in a REST-friendly SOAP way as;

SOAP-PUT http://example.org/quote/bigco/ HTTP/1.1
Host: example.org
Content-Type: application/soap+xml
[blank line]
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2002/06/soap-envelope">

where SOAP-PUT is described here;


or it could just be done with vanilla HTTP PUT;

PUT http://example.org/quote/bigco/ HTTP/1.1
Host: example.org
Content-Type: text/plain
[blank line]

Would anybody be interested in me taking a whack at doing this for
the other scenarios?

Mark Baker, CTO, Idokorro Mobile (formerly Planetfred)
Ottawa, Ontario, CANADA.               distobj@acm.org
http://www.markbaker.ca        http://www.idokorro.com
Received on Tuesday, 16 July 2002 21:47:38 UTC

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