RE: Ignoring uncited and nillable

Forgot to say, I added a couple of nillables to the schema for
LocationTemplate-1G consistent with this.

 

Jonathan Marsh -  <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

 

  _____  

From: www-ws-desc-request@w3.org [mailto:www-ws-desc-request@w3.org] On
Behalf Of Jonathan Marsh
Sent: Tuesday, January 23, 2007 1:25 PM
To: 'www-ws-desc'
Subject: Ignoring uncited and nillable

 

{http location ignore uncited} is primarily designed to force query
parameters to be inserted into the body of an x-www-form-urlencoded message
instead of appended to the URI.  When there is no body (GET), this simply
drops those parameters on the floor.

 

When reconstituting an XML message on the receiving end (as Axis2 does), it
is important not to drop parameters that affect the service's ability to
reconstitute a schema-valid message.  Having parameters that will be dropped
marked as nillable allows such a reconstruction.

 

Codifying this as a new assertion in section 6.7.2.2.2 would aid
interoperability:

 

When serializing an HTTP request method that does not allow an HTTP message
body, and when {http location ignore uncited} is true, any element not cited
in the {http location} property MUST be defined in the schema as nillable.

 

Jonathan Marsh -  <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

 

 

Received on Tuesday, 23 January 2007 08:00:36 UTC