[ 
https://issues.apache.org/jira/browse/XMLRPC-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789788#action_12789788
 ] 

Jochen Wiedmann commented on XMLRPC-179:
----------------------------------------

As I already said: The term "type error" is not present in the Apache XML-RPC 
sources. Please provide a stack trace.


> 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