[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Java XML RPC with Xen-API?




Ewan Mellor <ewan@xxxxxxxxxxxxx> wrote on 04/03/2007 05:14:37 AM:

> On Mon, Apr 02, 2007 at 11:21:58PM -0400, Stefan Berger wrote:
>
> > Ewan Mellor <ewan@xxxxxxxxxxxxx> wrote on 04/02/2007 05:40:26 PM:
> >

> >
> > Calling VM.get_all(7f0a5d0b-c0ff-f948-36e5-cbad03caf24c,...)
> > Returned object = {Status=Success, Value=[Ljava.lang.Object;@1faba46}
> > 'Value' has type class [Ljava.lang.Object;
>
> [Ljava.lang.Object means an Object[].  This is what I would expect.  Each
> element in that will be a String, so you will have to cast Value to Object [],
> and then cast each element in that array to String (because object references
> are strings on the wire).


Yes, that's it. Thanks!

  Stefan
>
> Ewan.
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.