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

Binding rules don't appear to allow optional headers (SOAP, clarification)

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Tue, 12 Apr 2005 14:19:51 -0700
Message-ID: <7DA77BF2392448449D094BCEF67569A507280F82@RED-MSG-30.redmond.corp.microsoft.com>
To: <public-ws-addressing-comments@w3.org>

The rules in Section 3.3 imply that every header is required for each
message.  That isn't the case.

Section 3.3 states:

  'When a message is be addressed to an endpoint, the values of the SOAP
  1.2 Addressing 1.0 Feature properties are mapped to the message as
  SOAP header blocks with the following additional modifications:'

Clarify that this applies to the "values of non-empty ... properties".

Taking
http://lists.w3.org/Archives/Public/public-ws-addressing-comments/2005Ap
r/0026.html and
http://lists.w3.org/Archives/Public/public-ws-addressing-comments/2005Ap
r/0027.html into account, this would read:

  'When a message is to be addressed to an endpoint, the XML
  representation of each non-empty WS-Addressing 1.0 Message Addressing
  Property is inserted into the message as a SOAP header block subject
  to the following additional constraints:'

The first bullet point reads:
 
  'The value of the 
  http://www.w3.org/@@@@/@@/addressing/feature/ReferenceParameters 
  property is added to the ...'

Change it to read (taking
http://lists.w3.org/Archives/Public/public-ws-addressing-comments/2005Ap
r/0027.html into account):

  'The value, if any, of the [reference parameters] property is added to
  the ...'

Add a fourth bullet point:

  'Each optional element or attribute that has a value equal to the
  defined default value for that element or attribute MAY be omitted.'
Received on Tuesday, 12 April 2005 21:20:00 GMT

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