W3C home > Mailing lists > Public > public-ws-policy@w3.org > May 2007

RE: [Bug 4522] Namespace problems in the WSDL 1.1 and WSDL 2.0 External Attachment Test Cases.

From: Asir Vedamuthu <asirveda@microsoft.com>
Date: Sun, 6 May 2007 19:28:57 -0700
To: Ashok Malhotra <ashok.malhotra@oracle.com>, Paul Cotton <Paul.Cotton@microsoft.com>
CC: "public-ws-policy@w3.org" <public-ws-policy@w3.org>
Message-ID: <C9BF0238EED3634BA1866AEF14C7A9E53ED3D4B5EA@NA-EXMSG-C116.redmond.corp.microsoft.com>

So, they are not essential for testing the external policy attachment for WSDL 11 or 20. Suggest dropping the wsa:Action attributes (in the external attachment directory http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round4/external-attachment/)

The above is the ONLY change to address issue 4522. We hope this helps.

Regards,

Asir S Vedamuthu
Microsoft Corporation


-----Original Message-----
From: Ashok Malhotra [mailto:ashok.malhotra@oracle.com]
Sent: Friday, May 04, 2007 5:03 AM
To: Asir Vedamuthu; Paul Cotton
Cc: public-ws-policy@w3.org
Subject: RE: [Bug 4522] Namespace problems in the WSDL 1.1 and WSDL 2.0 External Attachment Test Cases.

Re: wsa: the WSDL 11 files contains elements such as:

<wsdl:portType name="Test">
                <wsdl:operation name="Echo">
                        <wsdl:input message="tns:EchoInMessage" wsa:Action="http://example.com/ws/2004/09/policy/Test/EchoRequest"/>
                        <wsdl:output message="tns:EchoOutMessage" wsa:Action="http://example.com/ws/2004/09/policy/Test/EchoResponse"/>
                </wsdl:operation>
        </wsdl:portType>

All the best, Ashok

> -----Original Message-----
> From: public-ws-policy-request@w3.org [mailto:public-ws-policy-
> request@w3.org] On Behalf Of Asir Vedamuthu
> Sent: Thursday, May 03, 2007 7:55 PM
> To: Ashok Malhotra; Paul Cotton
> Cc: public-ws-policy@w3.org
> Subject: RE: [Bug 4522] Namespace problems in the WSDL 1.1 and WSDL 2.0
> External Attachment Test Cases.
>
>
> >If we want to change the namespace declarations,
> >we should change them on all the testcases.
>
> I searched through the interop archive looking for the quoted old
> namespace name. Can't find any. All the test cases use
> http://www.w3.org/ns/ws-policy. This is the official namespace name [1] of
> the CR draft.
>
>
> >There is no namespace declaration for the 'wsa'
> >prefix in the input WSDL.
>
> It is unclear why these unit test cases are required to use the addressing
> Action attribute. Suggest dropping it. If you have to use it, the Action
> attribute is now in the WS-A Metadata spec [2] and its namespace name is
> http://www.w3.org/2007/02/addressing/metadata.
>
>
> We hope this helps.
>
> [1] http://www.w3.org/ns/ws-policy/
> [2] http://www.w3.org/TR/2007/WD-ws-addr-metadata-20070202/#actioninwsdl
>
> 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 Ashok Malhotra
> Sent: Thursday, May 03, 2007 8:35 AM
> To: Paul Cotton
> Cc: public-ws-policy@w3.org
> Subject: RE: [Bug 4522] Namespace problems in the WSDL 1.1 and WSDL 2.0
> External Attachment Test Cases.
>
>
> I stole the WSDL from other testcases.  I did not change any namespace
> declarations.  All I wanted was add missing items and make the namespaces
> consistent.
>
> If we want to change the namespace declarations, we should change them on
> all the testcases.
>
> All the best, Ashok
>
> > -----Original Message-----
> > From: Paul Cotton [mailto:Paul.Cotton@microsoft.com]
> > Sent: Thursday, May 03, 2007 5:59 AM
> > To: Ashok Malhotra
> > Cc: YAMUNA PRAKASH; Nickolas Kavantzas; Minoo Gupta; Jeff Mischkinsky
> > Subject: RE: [Bug 4522] Namespace problems in the WSDL 1.1 and WSDL 2.0
> > External Attachment Test Cases.
> >
> > > This can be remedied by adding the attribute
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" to the
> > > <wsdl:definitions> element.
> >
> > Surely the W3C WS-Addressing Recommendation namespace URI of
> > http://www.w3.org/2005/08/addressing should be used!
> >
> > > The input WSDL contains xmlns:wsp="http://www.w3.org/ns/ws-policy"
> > > The result WSDL contains
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy".  The
> namespace
> > > declaration in the input WSDL should be changed to
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy".
> >
> > Why are you proposing that we use an out of date Policy namespace URI.
> > Surely the Policy namespace URI in the result WSDL should be changed to
> > "http://www.w3.org/ns/ws-policy".
> >
> > BTW when you have fixed this Bug (if you agree with my above points)
> then
> > you need to send an email to public-ws-policy@w3.org announcing the
> > creation of the Issue.
> >
> > /paulc
> >
> > Paul Cotton, Microsoft Canada
> > 17 Eleanor Drive, Ottawa, Ontario K2E 6A3
> > Tel: (613) 225-5445 Fax: (425) 936-7329
> > mailto:Paul.Cotton@microsoft.com
> >
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: public-ws-policy-qa-request@w3.org [mailto:public-ws-policy-qa-
> > > request@w3.org] On Behalf Of bugzilla@wiggum.w3.org
> > > Sent: May 2, 2007 6:13 PM
> > > To: public-ws-policy-qa@w3.org
> > > Subject: [Bug 4522] Namespace problems in the WSDL 1.1 and WSDL 2.0
> > > External Attachment Test Cases.
> > >
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=4522
> > >
> > >            Summary: Namespace problems in the WSDL 1.1 and WSDL 2.0
> > > External
> > >                     Attachment Test Cases.
> > >            Product: WS-Policy
> > >            Version: CR
> > >           Platform: PC
> > >         OS/Version: Windows XP
> > >             Status: NEW
> > >           Severity: normal
> > >           Priority: P2
> > >          Component: Test Suite
> > >         AssignedTo: fsasaki@w3.org
> > >         ReportedBy: ashok.malhotra@oracle.com
> > >          QAContact: public-ws-policy-qa@w3.org
> > >
> > >
> > > Namespace problems in the WSDL 1.1 and WSDL 2.0 External Attachment
> Test
> > > Cases.
> > >
> > > WSDL 1.1
> > > There is no namespace declaration for the 'wsa' prefix in the input
> > WSDL.
> > > This can be remedied by adding the attribute
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" to the
> > > <wsdl:definitions> element.
> > >
> > > There are two different declarations for the 'wsp' prefix.
> > > The input WSDL contains xmlns:wsp="http://www.w3.org/ns/ws-policy"
> > > The result WSDL contains
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy".  The
> namespace
> > > declaration in the input WSDL should be changed to
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy".
> > >
> > > WSDL 2.0
> > > There is no namespace declaration for the 'wsa' prefix in the input
> > WSDL.
> > > This can be remedied by adding the attribute
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" to the
> > > <wsdl20:description> element.
> > >
> > > The input WSDL as well as the results WSDL contains
> > > xmlns:wsp="http://www.w3.org/ns/ws-policy"
> > > This should be changed to
> > > xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
> >
>
>
>
Received on Monday, 7 May 2007 02:29:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:50 GMT