W3C home > Mailing lists > Public > www-ws-desc@w3.org > May 2002

W3C WSDL WG Issue: 6e. Define behavior for missing search pattern part

From: Jeffrey Schlimmer <jeffsch@windows.microsoft.com>
Date: Wed, 1 May 2002 14:18:52 -0700
Message-ID: <2E33960095B58E40A4D3345AB9F65EC106E14C34@win-msg-01.wingroup.windeploy.ntdev.microsoft.com>
To: <www-ws-desc@w3.org>
This issue seems like a point of clarification. Any concerns with
reinforcing the current wording?


Issue 6e. Define behavior if an http:urlReplacement search pattern does
not have a corresponding named part in the message


The binding template for a request URI may include a part name that
isn't in the message.


WSDL 1.1 [1], Section 2.3 describes message parts as a flexible
mechanism for describing abstract content of a message. Messages may
have zero or more parts. Bindings may reference parts by name to specify
information about that part. Part names must be unique within a message.

No provision is made for optional message parts, though a given message
part may vary in its content and could be empty.

WSDL 1.1, Section 4.7 defines the http:urlReplacement element that
provides a template for including message part values in the request
URI. Quoting from WSDL 1.1:

(1) The relative URI value of http:operation is searched for a set of
search patterns. 

(2) The search occurs before the value of the http:operation is combined
with the value of the location attribute from http:address. 

(3) There is one search pattern for each message part. The search
pattern string is the name of the message part surrounded with
parenthesis "(" and ")". 

(4) For each match, the value of the corresponding message part is
substituted for the match at the location of the match. 

(5) Matches are performed before any values are replaced (replaced
values do not trigger additional matches).

Interpreted strictly, Clause (3) above indicates that there must be
exactly one search pattern for each message part.


There must be a 1:1 relationship between the search patterns within the
relative portion of the http:operation and the message part names. It is
a fatal error if there is a search pattern without a corresponding part
name or if there is a part name without a corresponding search pattern.


[1] http://www.w3.org/TR/wsdl 
Received on Wednesday, 1 May 2002 17:23:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:22 UTC