- From: David Illsley <david.illsley@uk.ibm.com>
- Date: Mon, 18 Jun 2007 13:27:16 +0100
- To: <public-ws-addressing@w3.org>
- Cc: Rama.Pulavarthi@Sun.COM
All, As discussed on the last WG call, IBM and Sun intend to do interoperability testing on Section 2.1 of the WS-A Metadata specification during this CR phase. I'm happy to contribute the following tests on behalf of IBM and Sun for review and approval on the call of 18th June. WS-Addressing Metadata Document Section 2.1 CR Testing Overview Section 2.1 of the WS-Addressing Metadata specification defines how WSDL related metadata may be referenced in an Endpoint Reference (EPR). The WS-Addressing Core specification is clear that the lifecycle of the contents of the wsa:Metadata element is undefined and as a result, no processing model is defined. This test suite is therefore split into two sections. Section 1 deals with support which is mandatory (structural) and Section 2 deals with understanding of the contents of the EPR and is optional. All tests are defined as ‘unit tests’ which will be run by participants against the prepared EPRs and to which they will certify success or failure. Interoperability is shown by the fact that multiple parties can successfully process the same, varied EPRs. Section 1 (Mandatory) The processor can successfully extract WS-Addressing Core defined values (e.g. [address]) from an EPR containing: an empty wsa:Metadata element. a wsa:Metadata element containing just a wsam:InterfaceName element. a wsa:Metadata element containing just a wsam:ServiceName element. a wsa:Metadata element containing a wsam:ServiceName element with an EndpointName attribute a wsa:Metadata element containing both a wsam:InterfaceName element and a wsam:ServiceName element with an EndpointName attribute a wsa:Metadata element with a valid wsdli:wsdlLocation attribute Section 2 (Optional) The processor faults when processing an EPR which does not conform to the WS-Addressing Metadata specification. The wsa:Metadata element contains more than one wsam:InterfaceName element The wsa:Metadata element contains more than one wsam:ServiceName element The processor extracts the wsam:Metadata from conforming EPRs. The wsa:Metadata contains a wsam:InterfaceName element and the value contained is extracted. The wsa:Metadata contains a wsam:ServiceName element and the value contained is extracted. The wsa:Metadata contains a wsam:InterfaceName and wsam:ServiceName element and the values contained are extracted. The wsa:Metadata contains a wsam: ServiceName element with an EndpointName attribute and the valuse contained are extracted. The wsa:Metadata contains a wsam:InterfaceName and wsam:ServiceName element with an EndpointName attribute and the values contained are extracted. The wsa:Metadata contains a wsam:ServiceName element with an EndpointName attribute and the related WSDL is referenced by the wsdi:wsdlLocation attribute. The name of the binding from the WSDL document referenced using the wsam:ServiceName and EndpointName is extracted. NOTE: The actual EPRs used will be developed on approval of the tests and will be included in the report back to the working group to allow future use of these tests. David Illsley Web Services Development MP211, IBM Hursley Park, SO21 2JN +44 (0)1962 815049 (Int. 245049) david.illsley@uk.ibm.com Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Monday, 18 June 2007 12:27:37 UTC