axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23306] - Parameter ordering problem & param names being ignored problem
Date Sun, 21 Sep 2003 18:19:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23306>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23306

Parameter ordering problem & param names being ignored problem





------- Additional Comments From kkress@bankofny.com  2003-09-21 18:19 -------
I continued my permutations and found that I can change the parameter names 
with impunity ... and unpredictable results:

.../OrderTest?method=concatenateInt&middle=2&first=1&last=4&penultimate=3

produces: 3.4.2.1

My guess is that it tries to use the param name, but failing that, it uses 
ordering ... or I should say reverse order.

Results using a real client imply the element names are completely ignored
and only order is used:
<concatenateInt 
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <middle xsi:type="xsd:int">4</middle>
   <first xsi:type="xsd:int">3</first>
   <last xsi:type="xsd:int">2</last>
   <penultimate xsi:type="xsd:int">1</penultimate>
  </concatenateInt>
produces: 4.3.2.1

Mime
View raw message