ACTION-239 (was RE: RE: New issue 4301: Test case for xml:id

>Action-239 Work on xml:id, re-factoring wsu:id test cases
>and update scenarios accordingly [1]

I completed this action item. XMLID test cases are at [2] and [3].

[1] http://www.w3.org/2005/06/tracker/wspolicy/actions/239
[2] http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round2/WSDL11/PolicyAttachments-with-xmlid.wsdl
[3] http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round2/WSDL20/PolicyAttachments-with-xmlid.wsdl

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 Asir Vedamuthu
Sent: Thursday, February 08, 2007 11:20 PM
To: Felix Sasaki
Cc: public-ws-policy@w3.org
Subject: RE: New issue 4301: Test case for xml:id


They are at http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round2/

Regards,

Asir S Vedamuthu
Microsoft Corporation

-----Original Message-----
From: Felix Sasaki [mailto:fsasaki@w3.org]
Sent: Thursday, February 08, 2007 11:04 PM
To: Asir Vedamuthu
Cc: public-ws-policy@w3.org
Subject: Re: New issue 4301: Test case for xml:id

Hi Asir,

Could you point me to test cases which fulfill the requirements you
formulated for wsu:ID?

Thank you,

Felix

Asir Vedamuthu wrote:
> Thank you for contributing a test case for xml:id. We request you to consider the following three items:
>
> a) Example 5.1 [1] illustrates the use of WS-Policy Attachment for WSDL 20 but does not include all the details (see all the '...'). To make the test case machine readable, the document needs to carry all the details such as RealTimeDataInterface interface, contents of TransportBinding assertion, etc. (You may consider re-using some of the Policy or WSDL constructs in Round 2 [2] and Round 3 [3]).
>
> b) The relevant test to verify xml:id usage is the effective policy computation for the RealTimeDataPort endpoint. If the expected outcome of the effective policy computation were included then implementers could verify their output using the expected outcome.
>
> c) If you would like to attract multiple implementations of the xml:id attribute usage, this test case should not be limited to WSDL 20 but should also cover WSDL 11.
>
> I hope this helps.
>
> [1] http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/ws-policy-attachment.html?content-type=text/html;%20charset=utf-8#wsdl20-example
> [2] http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round2/WSDL20/PolicyAttachments.wsdl
> [3] http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round3/WSDL20/
>
> 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 Felix Sasaki
> Sent: Tuesday, February 06, 2007 4:14 AM
> To: public-ws-policy@w3.org
> Subject: New issue 4301: Test case for xml:id
>
>
> Title: Test case for xml:id
>
> Description: This issue provides a test case for xml:id.
>
> Justification: The test case is necessary during the CR phase.
>
> Target: Test suite used during CR.
>
> Proposal: Below is a document based on the 20061102 draft of the
> attachment document, the example in section 5.1. The document below
> contains xml:id attributes used for policy identification. An
> implementation needs to be able to resolve the references made via the
> <PolicyReference> elements witin the same document.
>
> <wsdl20:description xmlns="http://www.w3.org/2006/07/ws-policy"
> xmlns:wsp="http://www.w3.org/2006/07/ws-policy"
> xmlns:wsdl20="http://www.w3.org/2006/01/wsdl"
> xmlns:mtom="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"
> xmlns:wsap="http://www.w3.org/2006/05/addressing/wsdl"
> xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
>    <Policy xml:id="common">
>      <mtom:OptimizedMimeSerialization wsp:Optional="true"/>
>      <wsap:UsingAddressing />
>    </Policy>
>   <Policy xml:id="secure">
>     <ExactlyOne>
>       <sp:TransportBinding></sp:TransportBinding>
>       <sp:AsymmetricBinding></sp:AsymmetricBinding >
>     </ExactlyOne>
>   </Policy>
>   <wsdl20:binding name="SecureBinding"
>       interface="tns:RealTimeDataInterface" >
>     <PolicyReference URI="#secure" />
>     <wsdl20:operation name="GetRealQuote" ></wsdl20:operation>
>   </wsdl20:binding>
>   <wsdl20:service name="RealTimeDataService"
>        interface="tns:RealTimeDataInterface" >
>     <wsdl20:endpoint name="RealTimeDataPort"
>          binding="tns:SecureBinding">
>       <PolicyReference URI="#common" />
>     </wsdl20:endpoint>
>   </wsdl20:service>
> </wsdl20:description>
>
> Regards, Felix.
>
>

Received on Tuesday, 6 March 2007 19:27:41 UTC