- From: Jonathan Marsh <jmarsh@microsoft.com>
- Date: Mon, 29 Nov 2004 12:17:34 -0800
- To: "Hugo Haas" <hugo@w3.org>, <public-ws-addressing@w3.org>
> -----Original Message----- > From: public-ws-addressing-request@w3.org [mailto:public-ws- > addressing-request@w3.org] On Behalf Of Hugo Haas > Sent: Tuesday, November 23, 2004 8:08 AM > To: public-ws-addressing@w3.org > Subject: Issues i034: Action defaults (was Re: Issue 019: WSDL Version > Neutrality) > > * Marc Hadley <Marc.Hadley@Sun.COM> [2004-11-17 15:11-0500] > > On Nov 16, 2004, at 9:24 PM, Hugo Haas wrote: > > >The solutions for implicit action values that have been proposed > are: > > > > > >1. keep the WSDL 1.1 implicit value algorithm for WSDL 1.1, use the > > > WSDL 2.0 component designator URI for WSDL 2.0, and treat those > as > > > equivalent > > > > > >2. keep the WSDL 1.1 implicit value algorithm for WSDL 1.1, > introduce > > > a similar algorithm for WSDL 2.0, so that the values match in > most > > > cases > > > > > >3. keep the WSDL 1.1 implicit value algorithm for WSDL 1.1, use the > > > WSDL 2.0 component designator URI for WSDL 2.0, but treat those > > > differently: basically, in at least one of those descriptions, > the > > > action will have to be specified so that it is the same in both > > > cases > > > > > >4. use the WSDL 2.0 component designator URI for WSDL 2.0, provide > a > > > similar algorithm for WSDL 1.1, so that the values match in most > > > cases > > > > > I'd like to propose another (simple) solution: make action optional, > > drop the implicit action mapping, only include an action in a > message > > if its explicitly specified in the WSDL. > > After having thought about this a little more and discussed this with > colleagues, your solution seems interesting, though I don't think that > action should be made optional, and I think that it's an orthogonal > issue - and it does have its own issue number AAMOF, issue i031. > > In a nutshell, what I am arguing below is a +1 to your proposal, > modulo the resolution of i031 (requiredness of action), and with a > friendly amendment of suggesting default values to specify in a WSDL > description of the service. > > -=- Details -=- > > As I have said several times, I think that it would be a > mistake not to use the WSDL 2.0 component designator URI pointing to a > message reference as a default value for action with a WSDL 2.0 > description: using another URI, mimicking the WSDL 1.1 default value > construction for example, would essentially mean that there are two > URIs identifying the same thing: a particular message. > > Jonathan has also pointed out that it is desirable that the WSDL 1.1 > and 2.0 defaults be the same, and pushed back on using the WSDL 2.0 > syntax for the 1.1 default. > > It is worth noting that we can only consider the cases of WSDL 1.1 and > 2.0 at this point. We can imagine the service being described in WSDL > 2.1, 3.0: those may have a different component model which makes the > construction of the same default action URI impossible. > > Therefore, aligning the default implicit values for all WSDL versions > is going to be hard, and efforts that we make to align WSDL 1.1 and > WSDL 2.0 today may be ruined in the future by the use of a new version > of WSDL. Those efforts will not be ruined, they will simply not extend to new versions that might (eventually) come along with such a different model that the algorithm can't be stretched. Your argument seems to be that we should inflict pain today so people get used to the pain in case we inflict more in the future. The pain of the future is sufficient thereto. > Moreover, action is considered important: its use is (currently) > required in a message, it heavily relates to the lengthy discussions > around operation name in the WS Description WG, etc. Having it spelled > out in a WSDL description seems to make sense. If we have the principle that everything should be spelled out. WSDL 2.0 itself has some pretty fancy defaulting behavior. > I would therefore favor _not_ having the implicit action pattern, and > requiring it to be indicated in the description of a service, i.e. > wsa:Action MUST be present on a message reference - i.e. input or > output message - in a WSDL description if addressing is used. That seems like a split-the-baby argument. > I don't think that it will be such a burden on implementors since: > - they can still use the same ones as long as it's indicated in their > WSDL, > - toolkits can provide a default value if the developer doesn't want > to specify one by hand. > > This default that toolkit can provide can be hinted by our spec. > > We could keep the current WSDL 1.1 defaulting algorithm and say that > it MAY be used as a (good) default value for the action property when > writing a WSDL 1.1 description of a service, and say that the WSDL 2.0 > component designator URI for a message reference MAY be used as a > (good) action default value when writing a WSDL 2.0 description of it. > In any case, the value of the action property is specific to the > service and MUST be identical in all descriptions of the service. > > Comments? It sounds like a workable alternative, though not very compelling. > Regards, > > Hugo > > -- > Hugo Haas - W3C > mailto:hugo@w3.org - http://www.w3.org/People/Hugo/
Received on Monday, 29 November 2004 20:18:10 UTC