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

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


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Stefan Berger <stefanb@xxxxxxxxxx>
  • Date: Mon, 2 Apr 2007 12:38:12 -0400
  • Delivery-date: Mon, 02 Apr 2007 09:36:59 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>


Hello!

  I am experimenting with a Java client to access xend through the Xen-API. Using the Apache XML-RPC library (version 3) I could open a session that returned the status value and the uuid of the session. When I try to call VM.get_all() in a subsequent step, the returned HashMap again contains the status code but as a second parameter a quite useless Java 'Object' -- not a Vector or so. I see, though, that Xend returns a list of UUIDs of the managed domains. Is there any way to have the second parameter become something more useful like a Vector or a String[] or does another client library do this better?

Thanks.

   Stefan
_______________________________________________
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®.