Re: Problem with JAVA API --- RESOLVED

2011-06-27 Thread Guillermo Alfredo Torres Barron
Mexico City -Mensaje original- De: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] En nombre de Chuck Enviado el: Viernes, 17 de Junio de 2011 03:34 p.m. Para: arslist@ARSLIST.ORG Asunto: Re: Problem with JAVA API Remember when you pass into a function

Problem with JAVA API

2011-06-18 Thread John Baker
Chuck if a.equals() is one of my least favourite Java statements because it's awfully inefficient. The VM has to create an object just for comparison, which when in a repetitive loop, can be very slow. if a.length()==0 is much nicer :) John

Problem with JAVA API

2011-06-17 Thread John Baker
Hello, That is a rather odd problem. If you are fetching field 7, is it in the Entry object? If so, I don't know why you see this error if you try calling setEntry. Perhaps you should only get the fields you want to fetch, ie. ListInteger fields = new ArrayListInteger(); if (ACTIVIDADES_1!=null)

Re: Problem with JAVA API

2011-06-17 Thread Roys, Eric D
))); } return entry; } -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of John Baker Sent: Friday, June 17, 2011 6:12 AM To: arslist@ARSLIST.ORG Subject: Problem with JAVA API Hello, That is a rather odd

Re: Problem with JAVA API

2011-06-17 Thread Garrison, Sean (Norcross)
Alfredo Torres Barron Sent: Thursday, June 16, 2011 5:40 PM To: arslist@ARSLIST.ORG Subject: Problem with JAVA API Hi dear listers I try to modify a ticket from java api program, the program will modify some fields in determinate registry with a entry-id proportionate for the user, and not all

Re: Problem with JAVA API

2011-06-17 Thread Chuck
: Thursday, June 16, 2011 5:40 PM To: arsl...@arslist.org Subject: Problem with JAVA API Hi dear listers I try to modify a ticket from java api program, the program will modify some fields in determinate registry with a entry-id proportionate for the user, and not all fields

Problem with JAVA API

2011-06-16 Thread Guillermo Alfredo Torres Barron
Hi dear listers I try to modify a ticket from java api program, the program will modify some fields in determinate registry with a entry-id proportionate for the user, and not all fields will be modified at the same time, but I run my class appear the next error # ./ejecutar APImod 002

Problem with JAVA API

2011-06-16 Thread Guillermo Alfredo Torres Barron
Hi dear listers I try to modify a ticket from java api program, the program will modify some fields in determinate registry with a entry-id proportionate for the user, and not all fields will be modified at the same time, but I run my class appear the next error # ./ejecutar APImod 002

AW: Problem with JAVA API

2010-03-19 Thread Conny Martin
Nachricht- Von: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] Im Auftrag von Guillermo Alfredo Torres Barron Gesendet: Donnerstag, 18. März 2010 20:25 An: arslist@ARSLIST.ORG Betreff: Re: Problem with JAVA API Hi I add the instruction userInfo.login(); in the java program

Re: Problem with JAVA API

2010-03-18 Thread Guillermo Alfredo Torres Barron
Enviado el: Miércoles, 17 de Marzo de 2010 11:59 p.m. Para: arslist@ARSLIST.ORG Asunto: Re: Problem with JAVA API Seems like you mising the the login part. userInfo = new ARServerUser(); userInfo.setServer(misPropiedades.getProperty(datos.arserver)); userInfo.setUser(misPropiedades.getProperty

Re: Problem with JAVA API

2010-03-18 Thread LJ Longwing
Torres Barron Sent: Thursday, March 18, 2010 1:25 PM To: arslist@ARSLIST.ORG Subject: Re: Problem with JAVA API Hi I add the instruction userInfo.login(); in the java program, but appear the same error ERROR (91): RPC call failed; ONC/RPC call timed out Thanks Regards -Mensaje original

Problem with JAVA API

2010-03-17 Thread Guillermo Alfredo Torres Barron
Hi dear listers I try to do a java program with java api 7.1, the program compile without errors but run it appear the next ERROR (91): RPC call failed; ONC/RPC call timed out I send you a extract of the program import com.bmc.arsys.api.*; import java.io.*; import java.lang.*; import

Re: Problem with JAVA API

2010-03-17 Thread Jarl Grøneng
Seems like you mising the the login part. userInfo = new ARServerUser(); userInfo.setServer(misPropiedades.getProperty(datos.arserver)); userInfo.setUser(misPropiedades.getProperty(datos.aruser)); userInfo.setPassword(misPropiedades.getProperty(datos.arpass));