W3C home > Mailing lists > Public > public-ws-addressing@w3.org > August 2005

NEW ISSUE: Definition of the WSDL 2.0 binding needs to be in terms of the WSDL component model

From: Hugo Haas <hugo@w3.org>
Date: Wed, 24 Aug 2005 16:02:29 +0200
To: public-ws-addressing@w3.org
Message-ID: <20050824140229.GU25190@w3.org>
• Description

Our WSDL Binding defines an extension to WSDL 2.0 by defining a global
attribute wsa:Action to be placed on input, output and fault
elements[1], and a UsingAddressing marker.

However, WSDL 2.0 is defined as a component model[2]. To define our
extension properly for WSDL 2.0, we need to define it in terms of the
component model.

• Target

WSDL Binding

• Proposal

I believe that this requires a bit of editorial massaging, as the
extension will define UsingAddressing and @wsa:Action, and we may need
to do some amount of duplication for WSDL 1.1. Below is a high level
proposal of what it would look like.

----8<--

X. WSDL 2.0 WS-Addressing Extension

This section defines the WS-Addressing Extension for WSDL 2.0.

X.1 Relationship to WSDL Component Model

This extension adds several properties to the WSDL component model:

  * {mandatory maps}, REQUIRED. An xs:boolean, to the Binding
    Component. This property indicates whether the use of
    WS-Addressing 1.0 is mandatory. When "true", messages exchanged
    with the endpoint MUST contain WS-Addressing Message Addressing
    Properties. When "false", the endpoint will accept input messages
    with or without WS-Addressing header blocks, and MAY generate
    output messages containing WS-Addressing headers.

  * {action}, REQUIRED. An xs:anyURI, to the Interface Message
    Reference and Interface Fault components. This property is an IRI
    defining the value of the WS-Addressing 1.0 [action] Message
    Addressing Property.

X.2 XML Representation

The XML representation for expressing WS-Addressing information are
one element information item and one attribute information item with
the following Infoset properties:

- A MANDATORY UsingAddressing element information item with the
  following Infoset properties:
  - A [local name] of UsingAddressing
  - A [namespace name] of http://www.w3.org/@@@@/@@/addressing/wsdl
  - One or more attribute information items amongst its [attributes]
    as follows:
      - An OPTIONAL required attribute information item with the
	following Infoset properties:
	- A [local name] of required
	- A [namespace name] of http://www.w3.org/2005/08/wsdl
	- A type of xs:boolean
      - Zero or more namespace qualified attribute information items.
- An OPTIONAL Action attribute information item with the following
  Infoset properties:
  - A [local name] of Action
  - A [namespace name] of http://www.w3.org/@@@@/@@/addressing/wsdl
  - A type of xs:anyURI

X.3 Mapping from XML Representation to Component Properties

{mandatory maps}

  The value of the wsdl:required attribute information item on the
  wsaw:UsingAddressing element information item, if present; otherwise
  "false".

{action}

  The value of the wsaw:action attribute information item, if present;
  otherwise the default value computed following the rules from
  section 4.2 Default Action Pattern for WSDL 2.0.

-->8----

This proposed text is using the same definition pattern as the
definition of the extensions in Web Services Description Language
(WSDL) Version 2.0 Part 2: Adjuncts[3].

Cheers,

Hugo

  1. http://www.w3.org/TR/2005/WD-ws-addr-wsdl-20050413/#refmetadatfromepr
  2. http://www.w3.org/TR/2005/WD-wsdl20-20050803/#wsdlx-interface-aii
  3. http://www.w3.org/TR/2005/WD-wsdl20-adjuncts-20050803/
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/

Received on Wednesday, 24 August 2005 14:02:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:35:08 GMT