I didn't know that there is a .NET api to connect to Jbase through Jbase Agent. I only have the Java version. Do you know where I can get that API?
Thanks JL Sent via BlackBerry from T-Mobile -----Original Message----- From: harry sri <[email protected]> Sender: [email protected] Date: Wed, 14 Sep 2011 23:10:03 To: jBASE<[email protected]> Reply-To: [email protected] Subject: jremote - time value not returned correctly Hi, Hi all, Using jremote to connect to dot net web application. Calling subroutines from Dotnet to get values from jbase. am using time() and timedate() functions to get the current time and date for some calculation . but the time() returned in dot application is different from the jbase time or the system time . which effects the calculation part. where as the same routine when executed directly in jbase , gives the correct value. ---------------- example1: --------------- i.e com.jbase.jremote.DefaultJConnectionFactory dcf; com.jbase.jremote.JConnection con; dcf = new DefaultJConnectionFactory(); dcf.Host = server; dcf.Port = 20001; con = dcf.getConnection(uname, password); JSubroutineParameters params3 = new JSubroutineParameters(); params3.add(new JDynArray("YTIME")); JSubroutineParameters returnParams3 = new JSubroutineParameters(); //Call jBC subroutine Call to get the details of COb Progress and Agent List Details etc. returnParams3 = con.call("CM.SRTINE", params3); YREC = returnParams3.get(0); i.e the value time value returned to dynamic array is different from actual value to be returned. ------------------------------------------------- some thing like this: SUBROUTINE CM.SRTINE(YTIME) ..... ..... YTIME = TIME() ...... RETURN --------------- example 2: --------------- and also when using time function in the dotnet directly also , the value returned is not correct. like com.jbase.jremote.DefaultJConnectionFactory dcf; com.jbase.jremote.JConnection con; dcf = new DefaultJConnectionFactory(); dcf.Host = server; dcf.Port = 20001; con = dcf.getConnection(uname, password); int time = con.time(); // the value returned is wrong again. ----------------------------------------------------------- i.e Values: SYSTEM time : 1:41:11 jbase time : 18:12:11 Dot net app time value: 09:12:11 (i.e returned from the routine) i.e there is a difference of about 9 hours from the value returned and expected. Wts the solution for this ? (version TAFC r10) Thanks in advance. harry.psri -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
