Hello - please refer to the following short example... you must set the
"Port" in the ARServerUser object


*private* *static* ARServerUser *cim_ARS*;
*cim_ARS* = *new* ARServerUser();
*cim_ARS*.setUser("Demo");
*cim_ARS*.setPassword("");
*cim_ARS.setServer("2003Base");
cim_ARS*.setPort(12345);
*boolean* bCIM_Login = *false*;
bCIM_Login = *ARS_Login*(*cim_ARS*);
*public* *static* *boolean* ARS_Login(ARServerUser lcl_ARServerUser) {

*boolean* lcl_RC = *false*;
*try* {

lcl_ARServerUser.login();
lcl_RC = *true*;

} *catch* (ARException e) {

e.getMessage();
e.*printStackTrace*();

}
*return*(lcl_RC);

}

HTH - Robert Molenda

On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron <
[email protected]> wrote:

> Hi dear listers
> We have a java api program, we want that this program connects to ar
> server for a private RPC, but we don't know how we can set the rpc in
> the java api =(, we don't find some clear information on the
> documentation java api
> Any idea?
> Thanks in advance
> Greetings from Mexico City
>
>
>
> ...........................................................................................
> Este correo electronico es confidencial y/o puede contener informacion
> privilegiada.
> Si usted no es su destinatario o no es alguna persona autorizada por este
> para recibir sus correos electronicos, NO debera usted utilizar, copiar,
> revelar, o tomar ninguna accion basada en este correo electronico o
> cualquier otra informacion incluida en el, favor de notificar al remitente
> de inmediato mediante el reenvio de este correo electronico y borrar a
> continuacion totalmente este correo electronico y sus anexos.
> Nota: Los acentos y caracteres especiales fueron omitidos para su correcta
> lectura en cualquier medio electronico.
>
> This e-mail is confidential and/or may contain privileged information.
> If you are not the addressee or authorized to receive this for the
> addressee, you must not use, copy, disclose, or take any action based on
> this message or any
> other information herein, please advise the sender immediately by reply
> this e-mail and delete this e-mail and  its attachments.
>
> ...........................................................................................
>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to