- From: Asir Vedamuthu <asirveda@microsoft.com>
- Date: Wed, 7 Mar 2007 07:56:35 -0800
- To: "Fabian.Ritzmann@Sun.COM" <Fabian.Ritzmann@Sun.COM>
- CC: "public-ws-policy@w3.org" <public-ws-policy@w3.org>
>Could we make that explicit in the WS-Policy-Scenarios doc? There is some text on this topic in the 'Effective-Policy-4-Service' sub section within 'Appendix E - Round 2 Unit Test Cases for Computing Effective Policy'. Please review the current text and propose additional text if you think the current text isn't adequate. >Still, I don't understand how this test is supposed to work? >We assume that the policy implementation just knows that it >needs to look into this file? Yes, your assumption is correct. The association from an IRI to a policy expression identified using a Name attribute is out of band. The value of the Name attribute is an absolute IRI and is independent of the location of the XML document where the identified policy expression resides in. As such, referencing a policy expression using the Name attribute relies on additional out of band information [1]. [1] http://www.w3.org/TR/2007/CR-ws-policy-20070228/#Policy_References I hope this helps. Regards, Asir S Vedamuthu Microsoft Corporation -----Original Message----- From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM] Sent: Wednesday, March 07, 2007 12:57 AM To: Asir Vedamuthu Cc: public-ws-policy@w3.org Subject: Re: test suite issue 4370: Round 2 WSDL 1.1 input file contains invalid references Asir Vedamuthu wrote: >> 1. The anonymous policy under <wsdl:service name="MyService"> >> contains a reference to a non-existent policy >> > > Policy is at http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round2/WSDL11/ExternalPolicy.xml > Could we make that explicit in the WS-Policy-Scenarios doc? Still, I don't understand how this test is supposed to work? We assume that the policy implementation just knows that it needs to look into this file? Fabian >> 2. The anonymous policy under <wsdl:portType name="MyPortType" ...> >> contains an invalid reference. It is missing a # character: >> > > Good catch. I fixed the missing # character when I added xml:id test cases (few minutes ago). > > Regards, > > Asir S Vedamuthu > Microsoft Corporation > > > -----Original Message----- > From: public-ws-policy-request@w3.org [mailto:public-ws-policy-request@w3.org] On Behalf Of Fabian Ritzmann > Sent: Tuesday, March 06, 2007 6:06 AM > To: public-ws-policy@w3.org > Subject: test suite issue 4370: Round 2 WSDL 1.1 input file contains invalid references > > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=4370 > > 1. The anonymous policy under <wsdl:service name="MyService"> contains a > reference to a non-existent policy: > <wsp:PolicyReference URI="http://fabrikam123.com/policies/ExternalPolicy" /> > > 2. The anonymous policy under <wsdl:portType name="MyPortType" ...> contains an > invalid reference. It is missing a # character: > <wsp:PolicyReference URI="Operation2-Aggregate"/> > > > -- > Fabian Ritzmann > Sun Microsystems, Inc. > Stella Business Park Phone +358-9-525 562 96 > Lars Sonckin kaari 12 Fax +358-9-525 562 52 > 02600 Espoo Email Fabian.Ritzmann@Sun.COM > Finland > >
Received on Wednesday, 7 March 2007 15:58:41 UTC