I'm using 3.1.2 and I can't add java.util.Map to parameters when invoke a 
client.

code example:
String username = "bla";
Integer sessId = 1234;
Map keyVals = new HashTable();
keyVals.add("a",23);
keyVals.add("b",3);
Object[] pParams = {username, keyVals, sessId};
Object rez = client.execute("PasswordFile.addUserToAA", pParams );

error:
org.apache.xmlrpc.XmlRpcException: type error


But on site http://ws.apache.org/xmlrpc/types.html is said that Map is 
supported, what I'm doing wrong.

Regards, Tomaz

Reply via email to