[one-users] Xmlrpc Lib

Tino Vazquez tinova at fdi.ucm.es
Thu Dec 17 08:12:10 PST 2009


Hi,

The first step would be to check the oned.log to find out if the
HostInfo method is beinf invoked.

Regards,

-Tino

--
Constantino Vázquez, Grid Technology Engineer/Researcher:
http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Thu, Dec 17, 2009 at 4:10 AM, hd nguyen <nguyenhd2107 at gmail.com> wrote:
>
> 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"
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list