[ 
https://issues.apache.org/jira/browse/XMLRPC-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomaž Majerhold updated XMLRPC-179:
-----------------------------------

    Component/s:     (was: Releases)
    Description: 
I have three parms String, Integer, Map and I'm adding them to a List and 
invoke 

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


Allowed types on site http://ws.apache.org/xmlrpc/types.html so there is bug in 
client class.

It should be explained if just raw type or generics

This is so unbelievable, I don't understand any more, this should be trivial
 

  was:
I have three parms String, Integer, Map and I'm adding them to a List and 
invoke 
client.execute("Cal.doit", List) -> error:  org.apache.xmlrpc.XmlRpcException: 
type error

Allowed types on site http://ws.apache.org/xmlrpc/types.html so there is bug in 
client class.
 


> I can't add Map to client execute method part of parameters
> -----------------------------------------------------------
>
>                 Key: XMLRPC-179
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-179
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: 3.1.2
>         Environment: java 1.6
> OS: XP, CentOS
>            Reporter: Tomaž Majerhold
>            Priority: Critical
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I have three parms String, Integer, Map and I'm adding them to a List and 
> invoke 
> 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
> Allowed types on site http://ws.apache.org/xmlrpc/types.html so there is bug 
> in client class.
> It should be explained if just raw type or generics
> This is so unbelievable, I don't understand any more, this should be trivial
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to