You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2006/12/21 20:53:52 UTC

Re: [jira] Created: (XMLRPC-129) typecast errors when arrays are returned

On 12/21/06, kamin (JIRA) <xm...@ws.apache.org> wrote:

> For example, the function
>
> public Integer[] foo(Integer[] val){ return val; }
>
> will work fine with the following client code:
>
> Integer[] param = new Integer[5];
> Object[] result = (Object[])server.execute("Server.foo", param);

There's no possibility to get something else than an Object[] unless
you are using the ClientFactory (see the section on "Dynamic Proxies"
in http://ws.apache.org/xmlrpc/advanced.html).


Jochen


-- 
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-dev-help@ws.apache.org