W3C home > Mailing lists > Public > www-ws-desc@w3.org > August 2004

Re: Minority objection to requiring unique GEDs or required feature to distinguish operations

From: Mark Baker <distobj@acm.org>
Date: Fri, 13 Aug 2004 14:30:35 -0400
To: paul.downey@bt.com
Cc: www-ws-desc@w3.org
Message-ID: <20040813183035.GL18186@markbaker.ca>

On Fri, Aug 13, 2004 at 07:14:01PM +0100, paul.downey@bt.com wrote:
> Mark wrote:
> > 
> >> what about the example where "GuestOperation" and "GoldPayingOperation"
> >> both accept the same message, but the response is different after i've
> >> phoned the service provider and supplied my credit card number.
> 
> > That would be ambiguous since the client wouldn't know which operation
> > was used.  It may turn out that this is desirable, but that would just
> > be coincidental.  There are architecturally superior (aka non-ambiguous)
> > ways to do what you want, such as breaking it up into two services and
> > using a single common operation (aka polymorphic dispatch).
> 
> it's not ambiguous if the client also knows i've paid my bill ..

Well, that's debateable I suppose, but it also seems a pretty far
fetched scenario to me since it would require that the client know about
the implementation details of the service.  I thought Web services were
supposed to be *loosely* coupled?! 8-O

> - please note i'm trying to represent other people's POV here.

Sure.

Mark.
Received on Friday, 13 August 2004 18:29:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:32 GMT