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

Automating the restaurant example

From: Mark Baker <distobj@acm.org>
Date: Mon, 21 Oct 2002 15:37:55 -0400
To: "Burdett, David" <david.burdett@commerceone.com>
Cc: www-ws-arch@w3.org
Message-ID: <20021021153755.N13534@www.markbaker.ca>

(time for a subject line change ...)

Hi David,

On Mon, Oct 21, 2002 at 11:25:13AM -0700, Burdett, David wrote:
> I really would like to see explained an example of how to do peer-to-peer,
> i.e. without a human being involved, in a way that does not need to
> standardize messages. I also challenged Paul to do this in the email at [3].

Ok, let's automate the restaurant example.  Say there isn't a waiter,
just a service out there on the 'net, identified by a URI;


My agent, to which I've given permission to act on my behalf to order
me a hamburger, finds this URI through some means (UDDI, Google, etc..),
invokes GET, and sees some XML that describes a menu of what's available
for order, including a declaration that all orders should be submitted
to http://restaurant.example.org/order/.  So my agent produces an order
document with a hamburger, and credit card info, then POSTs it to that
latter URI.

Here, all that needs standardizing (that isn't already standardized) is
an XML schema for a menu, and an XML schema for an order.  I'm also not
considering RDF, which could simplify that somewhat, so that agreement
on what constitutes an order and a menu doesn't have to be all or
nothing (ala partial understanding[1]).

 [1] http://www.w3.org/TR/1998/NOTE-webarch-extlang-19980210

Mark Baker, CTO, Idokorro Mobile.  Ottawa, Ontario, CANADA.
http://www.markbaker.ca             http://www.idokorro.com
Received on Monday, 21 October 2002 15:36:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:41:00 UTC