- From: Gilbert Pilz <Gilbert.Pilz@bea.com>
- Date: Thu, 30 Nov 2006 15:08:34 -0800
- To: <Marc.Hadley@Sun.COM>
- Cc: <public-ws-addressing@w3.org>
- Message-ID: <E16EB59B8AEDF445B644617E3C1B3C9C02C37CB8@repbex01.amer.bea.com>
Good point. Though the need for domain-specific intersection logic sort of defeats the purpose of using WS-Policy, don't you think? - gp > -----Original Message----- > From: Marc.Hadley@Sun.COM [mailto:Marc.Hadley@Sun.COM] > Sent: Thursday, November 30, 2006 11:06 AM > To: Gilbert Pilz > Cc: public-ws-addressing@w3.org > Subject: Re: First cut policy write up > > On Nov 29, 2006, at 6:15 PM, Gilbert Pilz wrote: > > > > <wsp:Policy> > > <wsaw:AnonymousResponses> > > </wsp:Policy> > > > > This policy indicates that the subject supports the use of WS- > > Addressing and, in particular, will accept request messages with > > response endpoint EPRs that contain the anonymous URI. If a > fault is > > generated as a result of sending a request message to an > endpoint with > > this effective policy, that fault will not be due to the > fact that the > > request message includes WS-Addressing headers nor will it > be due to > > the fact that the response endpoint EPRs contain the > anonymous URI as > > an address. Note that nothing is said about either > supporting or not > > supporting the use of non-anonymous URIs. > > > > <wsp:Policy> > > <wsaw:UsingAddressing> > > <wsaw:AnonymousResponses> > > </wsp:Policy> > > > > The above policy is semantically equivalent to the previous > example. > > Note that this example could be the result of combining two > separate > > policies (e.g. one attached at a wsdl:binding and the other at a > > wsdl20:endpoint (or > > wsdl11:port)) into a single effective policy. > > > Given this equivalence I think there's still a need for > domain- specific policy intersection. The processor needs to > know that <wsaw:UsingAddressing> is implicit in > <wsaw:AnonymousResponses>. Right ? > > > <wsp:Policy> > > <wsaw:NonAnonymousResponses> > > </wsp:Policy> > > > > <wsp:Policy> > > <wsaw:UsingAddressing> > > <wsaw:NonAnonymousResponses> > > </wsp:Policy> > > > > The above two policies are identical ways of expressing the > fact that > > the subject supports the use of WS-Addressing and, in > particular, will > > accept request messages with response endpoint EPRs that > contain URIs > > other than the anonymous URI. > > Same comment as above. > > Marc. > > --- > Marc Hadley <marc.hadley at sun.com> > CTO Office, Sun Microsystems. > > >
Received on Thursday, 30 November 2006 23:08:52 UTC