[one-users] Haven't authorized while using Java API

Giovanni Toraldo me at gionn.net
Sun Nov 25 07:33:49 PST 2012


Hi,

On Sun, Nov 25, 2012 at 3:21 PM, Hoàng Thái Xuân Khoa
<htxuankhoa at gmail.com> wrote:
>         Client client = new Client();

if you instance Client without parameters, will be assumed to be at
$ONE_AUTH, and the
endpoint will be set to the environment variable $ONE_XMLRPC.

You may want to instance Client with:
Client client = new Client("oneadmin:password","http://localhost:2633/RPC2");

Cheers,
--
Giovanni Toraldo
http://gionn.net



More information about the Users mailing list