Currently, if a parameter is the parameter returned, it is not added
to the outputs.
This patch adds the returned parameter as well. This would allow
parameters to change order, which I believe is allowed.
--
Jeffrey Alan Rodriguez
[EMAIL PROTECTED]
--- Call.java 2005-05-09 14:59:29.000000000 -0700
+++ Call.java.patched 2005-05-09 15:00:36.000000000 -0700
@@ -2502,7 +2502,7 @@
// The following loop looks at the resargs and
// converts the value to the appropriate return/out parameter
// value. If the return value is found, is value is
- // placed in result. The remaining resargs are
+ // placed in result. All of the resargs are
// placed in the outParams list (note that if a resArg
// is found that does not match a operation parameter qname,
// it is still placed in the outParms list).
@@ -2519,16 +2519,16 @@
}
// Check if this parameter is our return
- // otherwise just add it to our outputs
if (findReturnParam &&
returnParamQName.equals(param.getQName())) {
// found it!
result = value;
findReturnParam = false;
- } else {
- outParams.put(param.getQName(), value);
- outParamsList.add(value);
}
+
+ // Add parameter to outputs
+ outParams.put(param.getQName(), value);
+ outParamsList.add(value);
}
// added by scheu: