W3C home > Mailing lists > Public > www-ws-desc@w3.org > March 2005

LC69a: XForms comments on (WSDL) Version 2.0 Part 3: Bindings (a)

From: Charlton Barreto <cbarreto@webmethods.com>
Date: Thu, 31 Mar 2005 07:01:09 -0800
Message-Id: <0dfb5e6d288902bd7acb35e7f46a14f7@webmethods.com>
To: W3C WSDL Group <www-ws-desc@w3.org>
In issue LC69a [1], it was raised that for 
"application/x-www-form-urlencoded" serialization, escaping must be 
defined as per XForms. As such, either the ampersand (&) or semi-colon 
(;) must be supported for use as the query parameter separator, with 
semi-colon as the default [2].

To resolve this we require a mechanism to signal the separator at the 
operation level. As such I propose to add the following text to the 
last paragraph of Section 5.8.1:

"In this serialization, the value of the {http query parameter 
separator} is used to specify the valid separator character for 
name-value pairs in urlencoding."

and I propose adding the following section as appropriate in the HTTP 
binding spec:

The HTTP binding specification adds the following property to the WSDL 
component model (as defined in [WSDL 2.0 Core Language]):

    * {http query parameter separator}, a xs:string to the Operation 
component.

XML Representation
<description>
   <binding name="xs:NCName" interface="xs:QName"? type="xs:anyURI"
            whttp:queryParameterSeparatorDefault="xs:string"?>
     <operation whttp:location="xs:anyURI"?
                whttp: queryParameterSeparator="xs:string" ?>
     </operation>
   </binding>
</description>

The XML representation for specifying the default query parameter 
separator is an OPTIONAL attribute information item for the binding 
element information item with the following Infoset properties:

    * A [local name] of queryParameterSeparatorDefault
    * A [namespace name] of "http://www.w3.org/@@@@/@@/wsdl/http"
    * A type of xs:string
    * A default value of '&'

The XML representation for specifying the query parameter separator is 
an OPTIONAL attribute information item for the operation element 
information item with the following Infoset properties:

    * A [local name] of queryParameterSeparator
    * A [namespace name] of "http://www.w3.org/@@@@/@@/wsdl/http"
    * A type of xs:string
    * A default value of '&'

Please provide any feedback you may have on this.

[1] http://www.w3.org/2002/ws/desc/4/lc-issues/issues.html#LC69a
[2] http://www.w3.org/TR/xforms/slice3.html#structure-model-submission
Received on Thursday, 31 March 2005 15:01:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:35 GMT