W3C home > Mailing lists > Public > www-ws-desc@w3.org > January 2007

LocationTemplate-1G totally hosed ;-)

From: Jonathan Marsh <jonathan@wso2.com>
Date: Tue, 16 Jan 2007 17:50:49 +0530
To: "'www-ws-desc'" <www-ws-desc@w3.org>
Message-ID: <008c01c73968$c4d6c520$d901640a@DELLICIOUS>
I've been looking more closely at LocationTemplate-1G and find that the
premise of the test was fundamentally flawed.  That premise was that you can
sufficiently test the functionality of whttp:location templates using the
SOAP binding instead of the HTTP binding.  That was incorrect!


A more careful read of the spec shows that certain features are only in
force when using the x-www-form-urlencoded serialization, specifically the
automatic serialization of uncited elements as query parameters including
the behavior of whttp:ignoreUncited.


Thus the bindings AutoRemainder and AdditionalQueryParams are both wrong in
assuming that query parameters will be added, and the bindings IgnoreUncited
and Escaping are wrong in implying that whttp:ignoreUncited will have any


I apologize in advance for the instability of these testcases, but I've gone
ahead and fixed and improved (I hope) them as follows:


*	In order not to lose the few bindings that make sense under SOAP,
I've cloned LocationTemplate-1G into LocationTemplate-2G which is an HTTP
binding-only version.  I twiddled a few other details to keep everything
sufficiently unique (e.g. service name, whttp:location URLs, etc.)
*	I've cut the AutoRemainder, AdditionalQueryParams, and
AutoQueryParams bindings from LocationTemplate-1G.
*	Since we've clarified that the {http location} is engaged on both
soap-request and request-response MEPs, I cloned the remaining 4 operations
and test them on the request-response MEP as well.
*	While doing this, I noticed some service names were not unique
within the whole set of tests we're doing, which is inconvenient for some
implementations like Axis2.  I updated MessageTest-2G,3G,4G service names
(which should affect the component model more than the message tests.)


This causes a bit of temporary churn in the component model tests as well.


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


Received on Tuesday, 16 January 2007 12:27:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:07:05 UTC