svn commit: r600834 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r600834 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java

lektran
Author: lektran
Date: Tue Dec  4 00:35:04 2007
New Revision: 600834

URL: http://svn.apache.org/viewvc?rev=600834&view=rev
Log:
Don't use getInParamNames because it returns a TreeSet which means the parameters are sorted by name rather than the order they are defined in the service def.  The unit test for XML-RPC now passes.

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java?rev=600834&r1=600833&r2=600834&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java Tue Dec  4 00:35:04 2007
@@ -242,7 +242,7 @@
                 // more than one parameter; use list notation based on service def order
                 if (parameterCount > 1) {
                     int x = 0;
-                    Iterator i = model.getInParamNames().iterator();
+                    Iterator i = model.getParameterNames("IN", true, true).iterator();
                     while (i.hasNext()) {
                         String name = (String) i.next();
                         context.put(name, xmlRpcReq.getParameter(x));