<br clear="all">Hi all,<br>I have a test Program to test XmlRpc API in Open Nebula as bellow:<br><b>XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();<br> config.setServerURL(new URL("<a href="http://192.168.1.41:2633/RPC2">http://192.168.1.41:2633/RPC2</a>"));<br>
XmlRpcClient client = new XmlRpcClient();<br> client.setConfig(config);<br><br>Vector params = new Vector(); <br> params.addElement("oneadmint:7c4a8d09ca3762af61e59520943dc26494f8941b");<br>
params.addElement(4); <br> <br> Object result = client.execute( "<a href="http://one.host.info">one.host.info</a>", params );<br> <br> System.out.println(result.getClass().getName());<br>
<br> if ( result != null )<br> System.out.println( result.toString() );</b><br><br>Here is the printed result: <br><b>[Ljava.lang.Obj<br>ect;@97a560</b><br><br>This result 's printed with any invoked method.<br>
Could you please clarify this problem for me?<br>Thanks for all,<br>Regards,<br>DuyNH<br>-- <br>"The love makes the life better"<br>