Re: struct of array of structs

John Wilson <[email protected]> Thu, 28 Sep 2006 07:08:11 +0100
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
On 27 Sep 2006, at 18:53, manuel_fdez_cmpos wrote:

> I think that this is correct.
>
> this work perfectly with a C++ client but I need that the client will
> be in Java.
>
> the problem that I have is that the Array it recognizes as an object
> and I cannot work with him.


You don't tell us what Java client you are using. However all the  
Java implementations I know of will return a struct as a Map and an  
array as a List. You can turn a java List into an array by calling   
toArray on it.


John Wilson
The Wilson Partnership
web http://www.wilson.co.uk
blog http://eek.ook.org




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/