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

RE: Visibility (was Re: Introducing the Service Oriented Architec tural style, and it's constraints and properties.

From: Burdett, David <david.burdett@commerceone.com>
Date: Wed, 26 Feb 2003 06:23:30 -0800
Message-ID: <C1E0143CD365A445A4417083BF6F42CC053D1781@C1plenaexm07.commerceone.com>
To: "'bhaugen'" <linkage@interaccess.com>, www-ws-arch@w3.org

Bob

You are right. My example was too simplistic. However I think you can argue
that "offer" is as much a method as "archive" or "calculate tax".

However all these method names really need properly defined semantics to
support what the sending of that message means.

David

-----Original Message-----
From: bhaugen [mailto:linkage@interaccess.com]
Sent: Wednesday, February 26, 2003 4:47 AM
To: www-ws-arch@w3.org
Subject: RE: Visibility (was Re: Introducing the Service Oriented
Architec tural style, and it's constraints and properties.



<DB>The absence of a method implies that the URI can only be used for
one
purpose. For example a Purchase Order Processor could either, for
example:
check availability of stock and provide a response; archive the order in
an
off-site repository for later retrieval; or, calculate the tax due.

Either way, the method is their either explicity (in the URI or in the
message body) or implicity, because that is the only purpose for which
the
server at the URI can be used.
</DB>

I agree that POST is under-specified, but:
I think you're inaccurate in likening a PO as instrument of offer
to a remote procedure call.  (e.g. "check availability of stock").

Usual case:
Whether the supplier checks anything is none of the buyer's
business.  (Could be drop-shipped from a 3rd party.)

All the buyer cares about is the business response:
does the supplier accept the PO, or reject it, or
maybe wants to make a counter-offer?
(E.g., half now, half later...)

I expressed this difference at least once before.
Must not be communicating well.

A PO is not a method, it's an offer (in an offer-acceptance
business protocol that rides on top of the technical
protocol).  In the example given, POST is the method.

I think that ws-arch could provide a service
by refining the uses of POST (not including
using it to mean GET).

-Bob Haugen

P.S. you wouldn't necessarily need to use POST
for an instrument of offer.
Received on Wednesday, 26 February 2003 09:24:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:15 GMT