[one-users] Xmlrpc Lib
hd nguyen
nguyenhd2107 at gmail.com
Wed Dec 16 19:10:28 PST 2009
Hi all,
I have a test Program to test XmlRpc API in Open Nebula as bellow:
*XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://192.168.1.41:2633/RPC2"));
XmlRpcClient client = new XmlRpcClient();
client.setConfig(config);
Vector params = new Vector();
params.addElement("oneadmint:7c4a8d09ca3762af61e59520943dc26494f8941b");
params.addElement(4);
Object result = client.execute( "one.host.info", params );
System.out.println(result.getClass().getName());
if ( result != null )
System.out.println( result.toString() );*
Here is the printed result:
*[Ljava.lang.Obj
ect;@97a560*
This result 's printed with any invoked method.
Could you please clarify this problem for me?
Thanks for all,
Regards,
DuyNH
--
"The love makes the life better"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20091217/3482ca6f/attachment.htm>
More information about the Users
mailing list