arsperl-users Mailing List for ARSperl (Page 30)
Brought to you by:
jeffmurphy
You can subscribe to this list here.
| 1996 |
Jan
(6) |
Feb
(7) |
Mar
(16) |
Apr
(5) |
May
(21) |
Jun
(5) |
Jul
(5) |
Aug
(13) |
Sep
(4) |
Oct
(12) |
Nov
(7) |
Dec
(24) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1997 |
Jan
(38) |
Feb
(65) |
Mar
(32) |
Apr
(37) |
May
(47) |
Jun
(45) |
Jul
(28) |
Aug
(38) |
Sep
(41) |
Oct
(81) |
Nov
(21) |
Dec
(45) |
| 1998 |
Jan
(18) |
Feb
(26) |
Mar
(44) |
Apr
(34) |
May
(36) |
Jun
(44) |
Jul
(31) |
Aug
(34) |
Sep
(56) |
Oct
(40) |
Nov
(20) |
Dec
(25) |
| 1999 |
Jan
(49) |
Feb
(50) |
Mar
(33) |
Apr
(51) |
May
(54) |
Jun
(43) |
Jul
(91) |
Aug
(34) |
Sep
(120) |
Oct
(102) |
Nov
(101) |
Dec
(25) |
| 2000 |
Jan
(55) |
Feb
(105) |
Mar
(44) |
Apr
(89) |
May
(123) |
Jun
(51) |
Jul
(98) |
Aug
(120) |
Sep
(101) |
Oct
(77) |
Nov
(58) |
Dec
(39) |
| 2001 |
Jan
(36) |
Feb
(50) |
Mar
(57) |
Apr
(62) |
May
(81) |
Jun
(55) |
Jul
(46) |
Aug
(51) |
Sep
(37) |
Oct
(60) |
Nov
(38) |
Dec
(41) |
| 2002 |
Jan
(70) |
Feb
(41) |
Mar
(49) |
Apr
(55) |
May
(93) |
Jun
(48) |
Jul
(88) |
Aug
(52) |
Sep
(92) |
Oct
(63) |
Nov
(37) |
Dec
(63) |
| 2003 |
Jan
(62) |
Feb
(78) |
Mar
(101) |
Apr
(90) |
May
(104) |
Jun
(31) |
Jul
(29) |
Aug
(66) |
Sep
(50) |
Oct
(114) |
Nov
(111) |
Dec
(49) |
| 2004 |
Jan
(19) |
Feb
(68) |
Mar
(59) |
Apr
(30) |
May
(54) |
Jun
(33) |
Jul
(115) |
Aug
(69) |
Sep
(33) |
Oct
(80) |
Nov
(25) |
Dec
(47) |
| 2005 |
Jan
(34) |
Feb
(26) |
Mar
(28) |
Apr
(57) |
May
(53) |
Jun
(59) |
Jul
(42) |
Aug
(25) |
Sep
(26) |
Oct
(33) |
Nov
(20) |
Dec
(2) |
| 2006 |
Jan
(35) |
Feb
(15) |
Mar
(14) |
Apr
(7) |
May
(22) |
Jun
(22) |
Jul
(22) |
Aug
(3) |
Sep
(7) |
Oct
(20) |
Nov
(25) |
Dec
(8) |
| 2007 |
Jan
(44) |
Feb
(26) |
Mar
(24) |
Apr
(34) |
May
(23) |
Jun
(61) |
Jul
(18) |
Aug
(39) |
Sep
(28) |
Oct
(31) |
Nov
(31) |
Dec
(23) |
| 2008 |
Jan
(18) |
Feb
(5) |
Mar
(18) |
Apr
(15) |
May
(17) |
Jun
(18) |
Jul
(13) |
Aug
(10) |
Sep
(71) |
Oct
(25) |
Nov
(5) |
Dec
(14) |
| 2009 |
Jan
(3) |
Feb
(6) |
Mar
(19) |
Apr
(5) |
May
(2) |
Jun
(5) |
Jul
(23) |
Aug
|
Sep
|
Oct
(2) |
Nov
(15) |
Dec
(7) |
| 2010 |
Jan
(5) |
Feb
(6) |
Mar
|
Apr
|
May
(10) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
(16) |
Feb
(24) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
(13) |
Dec
|
| 2012 |
Jan
(17) |
Feb
(14) |
Mar
(14) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(7) |
Oct
(14) |
Nov
(4) |
Dec
(4) |
| 2013 |
Jan
(1) |
Feb
(12) |
Mar
(7) |
Apr
(5) |
May
|
Jun
|
Jul
(1) |
Aug
(21) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
(4) |
| 2014 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(27) |
Jun
|
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <Sim...@te...> - 2007-08-01 02:21:40
|
Ich werde ab 23.07.2007 nicht im B=FCro sein. Ich kehre zur=FCck am 10.08.2007. Ich werde Ihre Nachricht nach meiner R=FCckkehr beantworten. In Dringenden F=E4llen wenden Sie sich Bitte an meine Vertreter: Herrn Ronald Schaten Ron...@te... Phone: +49 5246 80 1375 oder an Herrn Andreas Hoberg And...@te... Phone: +49 5246 80 1872 Mobil: +49 176 10070792= |
|
From: Pittman, T. <Tim...@re...> - 2007-07-31 19:28:37
|
Sure. Here is a subroutine from a web page that I made that changes a
user's password using ARSPerl in a cgi script. Basically ars_SetEntry
can take the password as a parameter and it will encrypt it once it's in
the database. =20
sub changeit {
if ($newpwd ne $cnewpwd) {
print "<span class=3D'greet'>";
print "<h2>Passwords did not match. Try
again.<br></h2>";
print "<a href=3D",$ENV{SCRIPT_NAME},">Click here to
retry</a>";
print "</span>\n";
exit;
}
print "Changing password on $server...<br>\n";
my $userSchema =3D 'User';
(%uf =3D ars_GetFieldTable($ctrl, $userSchema)) ||
&errorHandler($ars_errstr);
$q=3Dsprintf "'%d' =3D \"%s\"", $uf{"Login Name"}, $loginname;
(my $qual =3D ars_LoadQualifier($ctrl,$userSchema,$q)) or
&errorHandler("error in ars_LoadQualifier: $ars_errstr");
=09
(%userList =3D ars_GetListEntry($ctrl,$userSchema, $qual, 0, 0))
|| &errorHandler("User lookup died: $ars_errstr");
#(%userList =3D ars_GetListEntry($ctrl,$userSchema, $qual, 0)) ||
&errorHandler("User lookup died: $ars_errstr");
my $count=3Dkeys %userList;
if ($count !=3D 1) {
print "<span class=3D'greet'>";
print "Major problem in Remedy. Duplicate User Name.
Contact the helpdesk.\n";
print "</span>\n";
return 1;
} else {
while (my($entry_id, $desc) =3D each %userList) {
(%user =3D
ars_GetEntry($ctrl,$userSchema,$entry_id))=20
or &errorHandler("** ERROR retrieving
user information: $ars_errstr\n");
(my $rtnCode =3D ars_SetEntry($ctrl, $userSchema,
$entry_id, 0,
$uf{"Password"}, $newpwd)) or=20
die "Could not update user
password for $fullname due to $ars_errstr\n";
}
}
print "<h2>Password changed</h2>\n";
}
Tim Pittman
Project Engineer
Respironics, Inc.
=20
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Jeff Murphy
Sent: Tuesday, July 31, 2007 2:42 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Can you change the remedy user's password
in ARSperl?
Van De Kerk, David - PHX wrote:
>=20
>=20
> Hi,
>=20
> I am very new to ARSperl.
>=20
> Is it possible to change the password of the user you log in with?
>=20
I've never tried it via Perl, but you should be able to change the
password by setting the appropriate record/field in the User form.
jeff
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Thilo S. <thi...@ap...> - 2007-07-31 19:13:23
|
If it works in the User Tool (which it might or might not do, depending on the field/entry permissions of the "Group" form), it should work via ARSperl as well: ars_SetEntry( $ctrl, $entryId, 0, 102 => 'new_password' ); Regards, Thilo Jeff Murphy wrote: > Van De Kerk, David - PHX wrote: >> >> Hi, >> >> I am very new to ARSperl. >> >> Is it possible to change the password of the user you log in with? >> > > > I've never tried it via Perl, but you should be able to change the > password by setting the appropriate record/field in the User form. > > jeff > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Michiel B. <mic...@gm...> - 2007-07-31 19:12:12
|
The attachment seems to be blocked (at least for one user, I got a nice message back which I do not understand). Here's the file: #!/usr/bin/perl # # NAME # ChangePassword.pl server username password newpassword # # DESCRIPTION # This script allows a user to change his password. Since user accounts are just # plain records in a form we use the common getlistentry and setentry calls to # fetch the user's record and update the password field. # Note that on some systems permissions are set strangely and depending on # the type of license you have you might not be able to update your password # (Think Read Restricted licenses...) # Also on some systems the User form is renamed to something other than "User". # # AUTHOR # Michiel Beijen, Mansolutions, 2007. # use ARS; use strict; use warnings; die "usage: ChangePassword.pl server username password newpassword\n" unless ( $#ARGV >= 3 ); my ( $server, $user, $password, $newpassword ) = ( shift, shift, shift, shift ); #Logging in to the server ( my $ctrl = ars_Login( $server, $user, $password ) ) || die "ars_Login: $ars_errstr"; # Creating qualifier to look up the entry ID of the username; Login Name field is 101. ( my $userqualifier = ars_LoadQualifier( $ctrl, "User", "'101' = \"$user\"" ) ) || die "ars_LoadQualifier(User): $ars_errstr"; # fetch the Entry ID for this user by using GetListEntry with the qualifier we # just specified, otherwise die. my @userentry = ars_GetListEntry( $ctrl, "User", $userqualifier, 0, 0 ); die "No such user \"$user\"? ($ars_errstr)\n" if ( $#userentry == -1 ); # Change the password for this user by setting field 102 (the password field) with the new value ars_SetEntry( $ctrl, "User", $userentry[0], 0, 102, $newpassword ) || die "Error updating password: $ars_errstr"; print "Password changed for user $user on server $server\n"; |
|
From: Michiel B. <mic...@gm...> - 2007-07-31 19:05:19
|
Your password is stored in the User form, you can change it just as any other record in a form. See the attached example. Kind regards, Michiel On 7/31/07, Jeff Murphy <jcm...@je...> wrote: > Van De Kerk, David - PHX wrote: > > > > > > Hi, > > > > I am very new to ARSperl. > > > > Is it possible to change the password of the user you log in with? > > > > > I've never tried it via Perl, but you should be able to change the > password by setting the appropriate record/field in the User form. > > jeff > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > -- Met vriendelijke groet / Kind regards Michiel Beijen ______________________________________________________ MANSOLUTIONS Energieweg 60-62 3771 NA Barneveld The Netherlands Tel. +31-(0)612968592 Mail mic...@ma... Internet http://bsm.mansolutions.nl |
|
From: Dignard, N. <di...@na...> - 2007-07-31 18:53:27
|
unsubscribe
Regards,
Norm=20
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Jeff Murphy
Sent: July 31, 2007 02:40 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Incorrect format for a diary field
Peter Farr wrote:
> I am trying to use the ARS Perl interface to extract some data from
Remedy
> (v5 and v7). I will say up front that I am not extremely
Remedy-literate.
> When I open some (many) forms using:
>=20
> $f =3D new ARS::form(-form =3D> $schema, -connection =3D> $ars);
>=20
> I get error 339 "Incorrect format for a diary field". Is there some
way
> around this?
>=20
> ARSPerl-1.90 on Linux 2.6. ars_APIVersion() tells me I am compiled
against
> API version 7 on one system and version 9 on the other. I get the same
> message on either system.
>=20
try
my $a =3D new ARS($server, $user, $pass);
my $f =3D $a->openForm($schema);
my @e =3D $f->query('1 =3D 1');
print join(', ', @e), "\n";
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Jeff M. <jcm...@je...> - 2007-07-31 18:41:33
|
Van De Kerk, David - PHX wrote: > > > Hi, > > I am very new to ARSperl. > > Is it possible to change the password of the user you log in with? > I've never tried it via Perl, but you should be able to change the password by setting the appropriate record/field in the User form. jeff |
|
From: Jeff M. <jcm...@je...> - 2007-07-31 18:39:50
|
Peter Farr wrote:
> I am trying to use the ARS Perl interface to extract some data from Remedy
> (v5 and v7). I will say up front that I am not extremely Remedy-literate.
> When I open some (many) forms using:
>
> $f = new ARS::form(-form => $schema, -connection => $ars);
>
> I get error 339 "Incorrect format for a diary field". Is there some way
> around this?
>
> ARSPerl-1.90 on Linux 2.6. ars_APIVersion() tells me I am compiled against
> API version 7 on one system and version 9 on the other. I get the same
> message on either system.
>
try
my $a = new ARS($server, $user, $pass);
my $f = $a->openForm($schema);
my @e = $f->query('1 = 1');
print join(', ', @e), "\n";
|
|
From: Van De K. D. - P. <DVa...@ch...> - 2007-07-31 18:01:30
|
Hi, I am very new to ARSperl. Is it possible to change the password of the user you log in with? We have a "you must change your password frequently and randomly" mandate. I can't allow the automated interface to be locked out. |
|
From: Peter F. <Pet...@LP...> - 2007-07-31 17:55:40
|
I am trying to use the ARS Perl interface to extract some data from Remedy (v5 and v7). I will say up front that I am not extremely Remedy-literate. When I open some (many) forms using: $f = new ARS::form(-form => $schema, -connection => $ars); I get error 339 "Incorrect format for a diary field". Is there some way around this? ARSPerl-1.90 on Linux 2.6. ars_APIVersion() tells me I am compiled against API version 7 on one system and version 9 on the other. I get the same message on either system. -- Regards, Peter |
|
From: Jeff M. <jcm...@je...> - 2007-07-23 20:09:50
|
John Unsworth wrote: > Thanks. > > However that is still dangerous. Someone could build perl to use perl memory > manager even if the platform isn't windows Yes, which is something I've always done without ill-effect. The perl dist that comes with the distribution that I run has PERL_MALLOC enabled, and that hasn't been a problem for me. I'd rather avoid mixing the two mallocs unless there really is a problem -- and so far I'm only hearing that there's a demonstrable problem on Windows. jeff |
|
From: John U. <joh...@cr...> - 2007-07-22 16:48:09
|
Thanks.
However that is still dangerous. Someone could build perl to use perl =
memory
manager even if the platform isn't windows - it's just a perl build =
option.
I would respectfully suggest that the #ifdef malloc by itself is =
sufficient.
'malloc' will only be defined in the case where perl has been built to =
use
its own memory manager. That is the important point, not what the =
platform
actually is, because perl can be built that way on any platform.=20
Regards,
John.
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Jeff Murphy
Sent: 20 July 2007 20:42
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] ars_CreateEntry crashing on Windows
John Unsworth wrote:
> Hello,
>=20
> Can someone explain what happens now? Do we get notified of an=20
> official fix?
>=20
I added this patch to the CVS tree. Since the discussion centered around =
the
bug affecting Windows, I modified the suggested fix to be:
> /* malloc that will never return null */
> void *
> mallocnn(int s)
> {
>=20
> #if defined(malloc) && defined(_WIN32)
> #undef malloc
> #endif
>=20
> void *m =3D malloc(s ? s : 1);
>=20
> if (!m)
> croak("can't malloc");
>=20
> memset(m, 0, s ? s : 1);
>=20
> return m;
> }
>=20
-------------------------------------------------------------------------=
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Jeff M. <jcm...@je...> - 2007-07-20 19:41:42
|
John Unsworth wrote:
> Hello,
>
> Can someone explain what happens now? Do we get notified of an official fix?
>
I added this patch to the CVS tree. Since the discussion centered around
the bug affecting Windows, I modified the suggested fix to be:
> /* malloc that will never return null */
> void *
> mallocnn(int s)
> {
>
> #if defined(malloc) && defined(_WIN32)
> #undef malloc
> #endif
>
> void *m = malloc(s ? s : 1);
>
> if (!m)
> croak("can't malloc");
>
> memset(m, 0, s ? s : 1);
>
> return m;
> }
>
|
|
From: John U. <joh...@cr...> - 2007-07-17 21:44:58
|
Hello,
Can someone explain what happens now? Do we get notified of an official =
fix?
Regards,
John.
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of John Unsworth
Sent: 24 June 2007 21:27
To: 'ARSperl User Discussion'
Subject: Re: [Arsperl-users] ars_CreateEntry crashing on Windows
We have fixed this by the following change to mallocnn in support.c.
/* malloc that will never return null */
void *
mallocnn(int s)
{
#ifdef malloc
#undef malloc
#endif
void *m =3D malloc(s ? s : 1);
if (!m)
croak("can't malloc");
memset(m, 0, s ? s : 1);
return m;
}
The Perl malloc macro is undefined and so the platform malloc() is used
instead. All memory allocation for the structures then uses the platform
memory manager and the call to FreeARFieldValueList() works correctly.
|
|
From: <jar...@gm...> - 2007-07-17 20:21:08
|
If you'r using Change mgmt in ITSM7 I do not recomend to fetch field
tables. The Change mgmt form contain more than 1200 fields, so it
takes forever to fetch them.
Use the CHG:Change_Interface form, or even better, use the fieldid.
--
Jarl
On 7/17/07, Jeff Murphy <jcm...@je...> wrote:
> Van De Kerk, David - PHX wrote:
> >
> >
>
> >
> > The code I am trying to use is:
> >
> > my $schema = "Incident Management";
> >
>
> $f = ars_GetFieldTable($c, $schema);
>
> > $entry_id = ars_CreateEntry($c,
> > $schema,
> > $f{'Notification Text'}, "Demo notification Text create ticket from Perl",
> > $f{'Incident Description'}, "Demo description of Perl item",
> > $f{'Category'},"Applications",
> > $f{'Type'}, "Interface",
> > $f{'Affected Item +'}, "Claims Backend Processing",
> > $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
> > $f{'Account Affected +'}, "Catholic Healthcare West",
> > $f{'Customer Name +'}, "David van De Kerk",
> > $f{'Source'}, "Phone"
> > )
> > ||
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Vaughan, M. <Mar...@ca...> - 2007-07-17 19:37:47
|
It should be:
%f =3D ars_GetFieldTable($c, $schema);
Mark Vaughan
TTS Development
Comcast Cable Corporation
720.268.8591
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Jeff Murphy
Sent: Tuesday, July 17, 2007 1:20 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] HELP! How to make a Remedy incident
management ticket - why does it fail?
Van De Kerk, David - PHX wrote:
>=20
>=20
>=20
> The code I am trying to use is:
>=20
> my $schema =3D "Incident Management";
>=20
$f =3D ars_GetFieldTable($c, $schema);
> $entry_id =3D ars_CreateEntry($c,
> $schema,
> $f{'Notification Text'}, "Demo notification Text create ticket from
Perl",
> $f{'Incident Description'}, "Demo description of Perl item",
> $f{'Category'},"Applications",
> $f{'Type'}, "Interface",
> $f{'Affected Item +'}, "Claims Backend Processing",
> $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
> $f{'Account Affected +'}, "Catholic Healthcare West",
> $f{'Customer Name +'}, "David van De Kerk",
> $f{'Source'}, "Phone"
> )
> ||
> =20
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Jeff M. <jcm...@je...> - 2007-07-17 19:26:46
|
hrm. i meant to type
%f = ars_GetFieldTable($c, $schema);
note the "%"
Jeff Murphy wrote:
> Van De Kerk, David - PHX wrote:
>>
>
>> The code I am trying to use is:
>>
>> my $schema = "Incident Management";
>>
>
> $f = ars_GetFieldTable($c, $schema);
>
>> $entry_id = ars_CreateEntry($c,
>> $schema,
>> $f{'Notification Text'}, "Demo notification Text create ticket from Perl",
>> $f{'Incident Description'}, "Demo description of Perl item",
>> $f{'Category'},"Applications",
>> $f{'Type'}, "Interface",
>> $f{'Affected Item +'}, "Claims Backend Processing",
>> $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
>> $f{'Account Affected +'}, "Catholic Healthcare West",
>> $f{'Customer Name +'}, "David van De Kerk",
>> $f{'Source'}, "Phone"
>> )
>> ||
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Jeff M. <jcm...@je...> - 2007-07-17 19:19:51
|
Van De Kerk, David - PHX wrote:
>
>
>
> The code I am trying to use is:
>
> my $schema = "Incident Management";
>
$f = ars_GetFieldTable($c, $schema);
> $entry_id = ars_CreateEntry($c,
> $schema,
> $f{'Notification Text'}, "Demo notification Text create ticket from Perl",
> $f{'Incident Description'}, "Demo description of Perl item",
> $f{'Category'},"Applications",
> $f{'Type'}, "Interface",
> $f{'Affected Item +'}, "Claims Backend Processing",
> $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
> $f{'Account Affected +'}, "Catholic Healthcare West",
> $f{'Customer Name +'}, "David van De Kerk",
> $f{'Source'}, "Phone"
> )
> ||
>
|
|
From: Van De K. D. - P. <DVa...@ch...> - 2007-07-17 19:16:00
|
Oh ARSPerl gurus,
I humbly beseech your collective wisdom. I am but a neophyte.
Windows XP.
I just got the latest ARSPerl yesterday.
Active State Perl 5.8.4
I know the connection is good. I can query tickets just fine. I just can't
create one. I know the fields exist in a valid Incident Management ticket
but I am not sure if they are the right ones.
Also, does anyone know what the forms with the plusses or '+' mean? Should
I be using them, or no plusses or what?
The error I get is:
[ERROR] Field does not exist on current form () (ARERR #314) at
C:\tmp\remedy\trial\make_ticket2.pl line 26.
The code I am trying to use is:
my $schema = "Incident Management";
$entry_id = ars_CreateEntry($c,
$schema,
$f{'Notification Text'}, "Demo notification Text create ticket from Perl",
$f{'Incident Description'}, "Demo description of Perl item",
$f{'Category'},"Applications",
$f{'Type'}, "Interface",
$f{'Affected Item +'}, "Claims Backend Processing",
$f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
$f{'Account Affected +'}, "Catholic Healthcare West",
$f{'Customer Name +'}, "David van De Kerk",
$f{'Source'}, "Phone"
)
||
die $ars_errstr;
Dave van De Kerk
602-307-2447
|
|
From: Michiel B. <mic...@gm...> - 2007-06-30 19:20:32
|
If you're looking into Joarse I guess you should also consider ExpertDesk Plus; http://code.google.com/p/edplus/ Kind regards, Michiel On 6/29/07, Mike Wallick <mdw...@gm...> wrote: > > That's what I get for writing an email in a hurry :) I wasn't all that > clear on what I was asking. > > What I was asking originally was not how to maintain state (that I > knew), what I was wondering was if/how I could use references to a > server-side control record by way of tying it to an http session, > rather than create a new control record on every request. As far as I > can tell, that isn't quite possible in ARSPerl (or, at least I can't > figure out how). > > The Java API/JSP/Servlet method was another avenue that I was > considering, but since I know Perl better than Java ("web" Java, > anyway), I started with ARSPerl. > > I've been playing with the Java API for a few days now, and I'm > finding that it's not all that easy to use. I saw on ARSWiki that > there is an "api" to the API provided by the JOARSE project. Is anyone > actively using JOARSE or is it kind of a dead project? I was thinking > of writing a layer on top of the BMC Java API to make it easier to > use, but I don't want to reinvent the wheel if someone else has > already done something similar. I'd even like to contribute to the > project if there's a need. > > Thanks for the feedback, by the way; this is exactly the kind of > information I'm looking for. > > Mike > > On 6/27/07, Carey Matthew Black <bla...@gm...> wrote: > > Mike, > > > > Ref: > > http://www.webopedia.com/TERM/S/session_cookie.html > > http://www.allaboutcookies.org/cookies/session-cookies-used-for.html > > > http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci752450,00.html > > > > > > IMHO... this is a bad way to keep state for a web site. It is client > side > > and could present security concerns if your browser is flawed. (Like > maybe > > the most popular choice... IE.) > > > > > > If I were you... I would start at a better staring point. Try the Java > API > > and go to the JSP/Servlet model for this approach. And here are just a > few > > reasons why: > > > > 1) Most ARS customers will have a web server capible of being a Mid-tier > > server. (And your interface might be helpful in some cases in addition > to > > the Mid-Tier.) > > 2) JSP/Servlets are a "later generation" and approach the web with more > > security options by design than CGI's ever had. > > 3) The Java API will be supported by BMC. ARSPerl never has been > directly > > supported by Remedy or BMC. > > 4) The new Java API is reported to be "totally Java" (no more JNI layer) > and > > that will make such a web interface as portable as any JSP engine out > there. > > And that will be more portable than any ARSPerl interface could be > because > > it will still be (as far as I know) a wrapper around the C API that has > > limited platform support. > > > > But that might be more work than your interested in too. ( I just think > it > > is a much better path to go down if you have any time to spend on such a > > major undertaking.) > > > > HTH. > > > > AND just to be clear... ARSPerl is great. It has served a very needed > niche > > in the ARS universe for years and I expect it to continue to do so. A > > command line Perl script is likely faster than a command line Java > program. > > However, there are support and maintenance issues to sort out too. So > for > > server side command line scripting... ARSPerl is still a good choice. > Time > > will tell if the new Java API can put a dent in that niche or not. ( And > > given the Filter plugin options... command line interfaces mostly should > be > > moved into that universe anyway.) > > > > -- > > Carey Matthew Black > > Remedy Skilled Professional (RSP) > > ARS = Action Request System(Remedy) > > > > Love, then teach > > Solution = People + Process + Tools > > Fast, Accurate, Cheap.... Pick two. > > > > > > On 6/26/07, Mike Wallick <mdw...@gm...> wrote: > > > Forgive me for being dense, but I don't understand how one would tie a > > control record that was created from a login routine, for example, to a > > session ID or similar. Given a session ID, how does one tie that to a > > control record that has already been created/validated? > > > > > > In other words, where does the control record "live" and how does one > get > > at it? Doesn't the control record "disappear" once the web server > request is > > complete? > > > > > > Mike > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Arsperl-users mailing list > > Ars...@ar... > > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Jeff M. <jcm...@je...> - 2007-06-29 18:38:58
|
Mike Wallick wrote:
> Right now I'm just fishing for options/feedback and researching how I
> might accomplish something like this. CGI and/or mod_perl is one
> method I am considering, along with a Java API/JSP/Servlet method.
>
>>> I tried several ways of serializing the control record in Perl with no
>>> luck and using CGI::Session, Apache::Session, .etc..
The control record is (essentially) just the username, password and
server name packed into a C-struct. There's no magic in it. What you
want to do is cache that information within your application (by using
Apache::Session for example) and then fetch it and call ars_Login() for
each http transaction.
Yes, there are security issues with doing the above, but if you could
serialize the control record, you'd have the same issues.
You can fetch the contents of the control record and store the useful
fields by using ars_GetControlStructFields()
Save this as /tmp/t.pl
#!/usr/bin/perl
use ARS;
$c = ars_Login(shift, shift, shift);
die $ars_errstr unless $c;
print join(',', ars_GetControlStructFields($c)), "\n";
exit 0;
and type this:
perl /tmp/t.pl yourserver youruser yourpass
and you'll see that the control record contains very little information.
jeff
|
|
From: Danford, R. <ric...@lm...> - 2007-06-29 18:21:03
|
unsubscribe |
|
From: Mike W. <mdw...@gm...> - 2007-06-29 18:17:37
|
Right now I'm just fishing for options/feedback and researching how I
might accomplish something like this. CGI and/or mod_perl is one
method I am considering, along with a Java API/JSP/Servlet method.
Mike
On 6/29/07, Clayton Scott <cla...@gm...> wrote:
> Mark,
> I take it that you're doing CGI and not mod_perl?
>
> You could persist the username and password in the session
> and call ars_Login on each part of the request, or build a separate
> daemon process that does your communications to ARS.
>
> The overhead on setting up a new control record was pretty low
> I've found.
>
> Clayton
>
>
> On 6/29/07, Mike Wallick < mdw...@gm...> wrote:
> > I tried several ways of serializing the control record in Perl with no
> > luck and using CGI::Session, Apache::Session, .etc.. I've given up
> > going down that avenue. It looks like Java is the way I want to go.
> >
> > When is 7.1 slated for release? This summer (July maybe?) IIRC.
> >
> > Thanks, everyone. Again, this is exactly the kind of feedback I was
> > hoping to get.
> >
> > Mike
> >
> > On 6/29/07, Axton W Grams/NYLIC <Axt...@ne... > wrote:
> > >
> > > Sounds like what you are trying to do is emulate the session pool/proxy
> that
> > > the java api provides, using arsperl. I am not sure how you would
> approach
> > > this. Most interpreted languages have a problem with persistence with
> > > things like this, unless there is a way to serialize the data. I'm not
> sure
> > > how you could do that with arsperl; just don't have the skills and
> knowledge
> > > to work at that level.
> > >
> > > I've contributed some to JOARSE, mainly to be compliant with the 7.x
> api. I
> > > would not say the project is dead, it has been maintained, but it does
> not
> > > have the widespread adoption of things like arsperl.
> > >
> > > If you can, I would suggest waiting until 7.1 is released; to see if the
> new
> > > java api is all that I am hearing it is. I am going to take a guess
> that
> > > the new java api, if a complete rewrite/rearchitecture will be bug
> ridden
> > > for some time, but the best way for things like this to mature is for
> people
> > > to use it and report back to the vendor.
> > >
> > > Axton Grams
> > >
> > >
> > >
> > >
> > >
> > > That's what I get for writing an email in a hurry :) I wasn't all that
> > > clear on what I was asking.
> > >
> > > What I was asking originally was not how to maintain state (that I
> > > knew), what I was wondering was if/how I could use references to a
> > > server-side control record by way of tying it to an http session,
> > > rather than create a new control record on every request. As far as I
> > > can tell, that isn't quite possible in ARSPerl (or, at least I can't
> > > figure out how).
> > >
> > > The Java API/JSP/Servlet method was another avenue that I was
> > > considering, but since I know Perl better than Java ("web" Java,
> > > anyway), I started with ARSPerl.
> > >
> > > I've been playing with the Java API for a few days now, and I'm
> > > finding that it's not all that easy to use. I saw on ARSWiki that
> > > there is an "api" to the API provided by the JOARSE project. Is anyone
> > > actively using JOARSE or is it kind of a dead project? I was thinking
> > > of writing a layer on top of the BMC Java API to make it easier to
> > > use, but I don't want to reinvent the wheel if someone else has
> > > already done something similar. I'd even like to contribute to the
> > > project if there's a need.
> > >
> > > Thanks for the feedback, by the way; this is exactly the kind of
> > > information I'm looking for.
> > >
> > > Mike
> > >
> > > On 6/27/07, Carey Matthew Black <bla...@gm...> wrote:
> > > > Mike,
> > > >
> > > > Ref:
> > > > http://www.webopedia.com/TERM/S/session_cookie.html
> > > >
> > >
> http://www.allaboutcookies.org/cookies/session-cookies-used-for.html
> > > >
> > >
> http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci752450,00.html
> > > >
> > > >
> > > > IMHO... this is a bad way to keep state for a web site. It is client
> side
> > > > and could present security concerns if your browser is flawed. (Like
> > > maybe
> > > > the most popular choice... IE.)
> > > >
> > > >
> > > > If I were you... I would start at a better staring point. Try the
> Java
> > > API
> > > > and go to the JSP/Servlet model for this approach. And here are just
> a
> > > few
> > > > reasons why:
> > > >
> > > > 1) Most ARS customers will have a web server capible of being a
> Mid-tier
> > > > server. (And your interface might be helpful in some cases in
> addition to
> > > > the Mid-Tier.)
> > > > 2) JSP/Servlets are a "later generation" and approach the web with
> more
> > > > security options by design than CGI's ever had.
> > > > 3) The Java API will be supported by BMC. ARSPerl never has been
> directly
> > > > supported by Remedy or BMC.
> > > > 4) The new Java API is reported to be "totally Java" (no more JNI
> layer)
> > > and
> > > > that will make such a web interface as portable as any JSP engine out
> > > there.
> > > > And that will be more portable than any ARSPerl interface could be
> > > because
> > > > it will still be (as far as I know) a wrapper around the C API that
> has
> > > > limited platform support.
> > > >
> > > > But that might be more work than your interested in too. ( I just
> think
> > > it
> > > > is a much better path to go down if you have any time to spend on
> such a
> > > > major undertaking.)
> > > >
> > > > HTH.
> > > >
> > > > AND just to be clear... ARSPerl is great. It has served a very needed
> > > niche
> > > > in the ARS universe for years and I expect it to continue to do so. A
> > > > command line Perl script is likely faster than a command line Java
> > > program.
> > > > However, there are support and maintenance issues to sort out too. So
> for
> > > > server side command line scripting... ARSPerl is still a good choice.
> > > Time
> > > > will tell if the new Java API can put a dent in that niche or not. (
> And
> > > > given the Filter plugin options... command line interfaces mostly
> should
> > > be
> > > > moved into that universe anyway.)
> > > >
> > > > --
> > > > Carey Matthew Black
> > > > Remedy Skilled Professional (RSP)
> > > > ARS = Action Request System(Remedy)
> > > >
> > > > Love, then teach
> > > > Solution = People + Process + Tools
> > > > Fast, Accurate, Cheap.... Pick two.
> > > >
> > > >
> > > > On 6/26/07, Mike Wallick <mdw...@gm...> wrote:
> > > > > Forgive me for being dense, but I don't understand how one would
> tie a
> > > > control record that was created from a login routine, for example, to
> a
> > > > session ID or similar. Given a session ID, how does one tie that to a
> > > > control record that has already been created/validated?
> > > > >
> > > > > In other words, where does the control record "live" and how does
> one
> > > get
> > > > at it? Doesn't the control record "disappear" once the web server
> request
> > > is
> > > > complete?
> > > > >
> > > > > Mike
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > Arsperl-users mailing list
> > > > Ars...@ar...
> > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> > > >
> > > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Arsperl-users mailing list
> > > Ars...@ar...
> > >
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Arsperl-users mailing list
> > > Ars...@ar...
> > >
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Arsperl-users mailing list
> > Ars...@ar...
> >
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> >
>
>
>
> --
>
> Clayton Scott
> cla...@gm...
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
|
|
From: Clayton S. <cla...@gm...> - 2007-06-29 18:00:15
|
Mark,
I take it that you're doing CGI and not mod_perl?
You could persist the username and password in the session
and call ars_Login on each part of the request, or build a separate
daemon process that does your communications to ARS.
The overhead on setting up a new control record was pretty low
I've found.
Clayton
On 6/29/07, Mike Wallick <mdw...@gm...> wrote:
>
> I tried several ways of serializing the control record in Perl with no
> luck and using CGI::Session, Apache::Session, .etc.. I've given up
> going down that avenue. It looks like Java is the way I want to go.
>
> When is 7.1 slated for release? This summer (July maybe?) IIRC.
>
> Thanks, everyone. Again, this is exactly the kind of feedback I was
> hoping to get.
>
> Mike
>
> On 6/29/07, Axton W Grams/NYLIC <Axt...@ne...> wrote:
> >
> > Sounds like what you are trying to do is emulate the session pool/proxy
> that
> > the java api provides, using arsperl. I am not sure how you would
> approach
> > this. Most interpreted languages have a problem with persistence with
> > things like this, unless there is a way to serialize the data. I'm not
> sure
> > how you could do that with arsperl; just don't have the skills and
> knowledge
> > to work at that level.
> >
> > I've contributed some to JOARSE, mainly to be compliant with the 7.xapi. I
> > would not say the project is dead, it has been maintained, but it does
> not
> > have the widespread adoption of things like arsperl.
> >
> > If you can, I would suggest waiting until 7.1 is released; to see if the
> new
> > java api is all that I am hearing it is. I am going to take a guess
> that
> > the new java api, if a complete rewrite/rearchitecture will be bug
> ridden
> > for some time, but the best way for things like this to mature is for
> people
> > to use it and report back to the vendor.
> >
> > Axton Grams
> >
> >
> >
> >
> >
> > That's what I get for writing an email in a hurry :) I wasn't all that
> > clear on what I was asking.
> >
> > What I was asking originally was not how to maintain state (that I
> > knew), what I was wondering was if/how I could use references to a
> > server-side control record by way of tying it to an http session,
> > rather than create a new control record on every request. As far as I
> > can tell, that isn't quite possible in ARSPerl (or, at least I can't
> > figure out how).
> >
> > The Java API/JSP/Servlet method was another avenue that I was
> > considering, but since I know Perl better than Java ("web" Java,
> > anyway), I started with ARSPerl.
> >
> > I've been playing with the Java API for a few days now, and I'm
> > finding that it's not all that easy to use. I saw on ARSWiki that
> > there is an "api" to the API provided by the JOARSE project. Is anyone
> > actively using JOARSE or is it kind of a dead project? I was thinking
> > of writing a layer on top of the BMC Java API to make it easier to
> > use, but I don't want to reinvent the wheel if someone else has
> > already done something similar. I'd even like to contribute to the
> > project if there's a need.
> >
> > Thanks for the feedback, by the way; this is exactly the kind of
> > information I'm looking for.
> >
> > Mike
> >
> > On 6/27/07, Carey Matthew Black <bla...@gm...> wrote:
> > > Mike,
> > >
> > > Ref:
> > > http://www.webopedia.com/TERM/S/session_cookie.html
> > >
> > http://www.allaboutcookies.org/cookies/session-cookies-used-for.html
> > >
> >
> http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci752450,00.html
> > >
> > >
> > > IMHO... this is a bad way to keep state for a web site. It is client
> side
> > > and could present security concerns if your browser is flawed. (Like
> > maybe
> > > the most popular choice... IE.)
> > >
> > >
> > > If I were you... I would start at a better staring point. Try the
> Java
> > API
> > > and go to the JSP/Servlet model for this approach. And here are just
> a
> > few
> > > reasons why:
> > >
> > > 1) Most ARS customers will have a web server capible of being a
> Mid-tier
> > > server. (And your interface might be helpful in some cases in
> addition to
> > > the Mid-Tier.)
> > > 2) JSP/Servlets are a "later generation" and approach the web with
> more
> > > security options by design than CGI's ever had.
> > > 3) The Java API will be supported by BMC. ARSPerl never has been
> directly
> > > supported by Remedy or BMC.
> > > 4) The new Java API is reported to be "totally Java" (no more JNI
> layer)
> > and
> > > that will make such a web interface as portable as any JSP engine out
> > there.
> > > And that will be more portable than any ARSPerl interface could be
> > because
> > > it will still be (as far as I know) a wrapper around the C API that
> has
> > > limited platform support.
> > >
> > > But that might be more work than your interested in too. ( I just
> think
> > it
> > > is a much better path to go down if you have any time to spend on
> such a
> > > major undertaking.)
> > >
> > > HTH.
> > >
> > > AND just to be clear... ARSPerl is great. It has served a very needed
> > niche
> > > in the ARS universe for years and I expect it to continue to do so. A
> > > command line Perl script is likely faster than a command line Java
> > program.
> > > However, there are support and maintenance issues to sort out too. So
> for
> > > server side command line scripting... ARSPerl is still a good choice.
> > Time
> > > will tell if the new Java API can put a dent in that niche or not. (
> And
> > > given the Filter plugin options... command line interfaces mostly
> should
> > be
> > > moved into that universe anyway.)
> > >
> > > --
> > > Carey Matthew Black
> > > Remedy Skilled Professional (RSP)
> > > ARS = Action Request System(Remedy)
> > >
> > > Love, then teach
> > > Solution = People + Process + Tools
> > > Fast, Accurate, Cheap.... Pick two.
> > >
> > >
> > > On 6/26/07, Mike Wallick <mdw...@gm...> wrote:
> > > > Forgive me for being dense, but I don't understand how one would
> tie a
> > > control record that was created from a login routine, for example, to
> a
> > > session ID or similar. Given a session ID, how does one tie that to a
> > > control record that has already been created/validated?
> > > >
> > > > In other words, where does the control record "live" and how does
> one
> > get
> > > at it? Doesn't the control record "disappear" once the web server
> request
> > is
> > > complete?
> > > >
> > > > Mike
> > >
> > >
> >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Arsperl-users mailing list
> > > Ars...@ar...
> > >
> > https://lists.sourceforge.net/lists/listinfo/arsperl-users
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Arsperl-users mailing list
> > Ars...@ar...
> > https://lists.sourceforge.net/lists/listinfo/arsperl-users
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Arsperl-users mailing list
> > Ars...@ar...
> > https://lists.sourceforge.net/lists/listinfo/arsperl-users
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
--
Clayton Scott
cla...@gm...
|
|
From: Mike W. <mdw...@gm...> - 2007-06-29 16:13:28
|
I tried several ways of serializing the control record in Perl with no
luck and using CGI::Session, Apache::Session, .etc.. I've given up
going down that avenue. It looks like Java is the way I want to go.
When is 7.1 slated for release? This summer (July maybe?) IIRC.
Thanks, everyone. Again, this is exactly the kind of feedback I was
hoping to get.
Mike
On 6/29/07, Axton W Grams/NYLIC <Axt...@ne...> wrote:
>
> Sounds like what you are trying to do is emulate the session pool/proxy that
> the java api provides, using arsperl. I am not sure how you would approach
> this. Most interpreted languages have a problem with persistence with
> things like this, unless there is a way to serialize the data. I'm not sure
> how you could do that with arsperl; just don't have the skills and knowledge
> to work at that level.
>
> I've contributed some to JOARSE, mainly to be compliant with the 7.x api. I
> would not say the project is dead, it has been maintained, but it does not
> have the widespread adoption of things like arsperl.
>
> If you can, I would suggest waiting until 7.1 is released; to see if the new
> java api is all that I am hearing it is. I am going to take a guess that
> the new java api, if a complete rewrite/rearchitecture will be bug ridden
> for some time, but the best way for things like this to mature is for people
> to use it and report back to the vendor.
>
> Axton Grams
>
>
>
>
>
> That's what I get for writing an email in a hurry :) I wasn't all that
> clear on what I was asking.
>
> What I was asking originally was not how to maintain state (that I
> knew), what I was wondering was if/how I could use references to a
> server-side control record by way of tying it to an http session,
> rather than create a new control record on every request. As far as I
> can tell, that isn't quite possible in ARSPerl (or, at least I can't
> figure out how).
>
> The Java API/JSP/Servlet method was another avenue that I was
> considering, but since I know Perl better than Java ("web" Java,
> anyway), I started with ARSPerl.
>
> I've been playing with the Java API for a few days now, and I'm
> finding that it's not all that easy to use. I saw on ARSWiki that
> there is an "api" to the API provided by the JOARSE project. Is anyone
> actively using JOARSE or is it kind of a dead project? I was thinking
> of writing a layer on top of the BMC Java API to make it easier to
> use, but I don't want to reinvent the wheel if someone else has
> already done something similar. I'd even like to contribute to the
> project if there's a need.
>
> Thanks for the feedback, by the way; this is exactly the kind of
> information I'm looking for.
>
> Mike
>
> On 6/27/07, Carey Matthew Black <bla...@gm...> wrote:
> > Mike,
> >
> > Ref:
> > http://www.webopedia.com/TERM/S/session_cookie.html
> >
> http://www.allaboutcookies.org/cookies/session-cookies-used-for.html
> >
> http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci752450,00.html
> >
> >
> > IMHO... this is a bad way to keep state for a web site. It is client side
> > and could present security concerns if your browser is flawed. (Like
> maybe
> > the most popular choice... IE.)
> >
> >
> > If I were you... I would start at a better staring point. Try the Java
> API
> > and go to the JSP/Servlet model for this approach. And here are just a
> few
> > reasons why:
> >
> > 1) Most ARS customers will have a web server capible of being a Mid-tier
> > server. (And your interface might be helpful in some cases in addition to
> > the Mid-Tier.)
> > 2) JSP/Servlets are a "later generation" and approach the web with more
> > security options by design than CGI's ever had.
> > 3) The Java API will be supported by BMC. ARSPerl never has been directly
> > supported by Remedy or BMC.
> > 4) The new Java API is reported to be "totally Java" (no more JNI layer)
> and
> > that will make such a web interface as portable as any JSP engine out
> there.
> > And that will be more portable than any ARSPerl interface could be
> because
> > it will still be (as far as I know) a wrapper around the C API that has
> > limited platform support.
> >
> > But that might be more work than your interested in too. ( I just think
> it
> > is a much better path to go down if you have any time to spend on such a
> > major undertaking.)
> >
> > HTH.
> >
> > AND just to be clear... ARSPerl is great. It has served a very needed
> niche
> > in the ARS universe for years and I expect it to continue to do so. A
> > command line Perl script is likely faster than a command line Java
> program.
> > However, there are support and maintenance issues to sort out too. So for
> > server side command line scripting... ARSPerl is still a good choice.
> Time
> > will tell if the new Java API can put a dent in that niche or not. ( And
> > given the Filter plugin options... command line interfaces mostly should
> be
> > moved into that universe anyway.)
> >
> > --
> > Carey Matthew Black
> > Remedy Skilled Professional (RSP)
> > ARS = Action Request System(Remedy)
> >
> > Love, then teach
> > Solution = People + Process + Tools
> > Fast, Accurate, Cheap.... Pick two.
> >
> >
> > On 6/26/07, Mike Wallick <mdw...@gm...> wrote:
> > > Forgive me for being dense, but I don't understand how one would tie a
> > control record that was created from a login routine, for example, to a
> > session ID or similar. Given a session ID, how does one tie that to a
> > control record that has already been created/validated?
> > >
> > > In other words, where does the control record "live" and how does one
> get
> > at it? Doesn't the control record "disappear" once the web server request
> is
> > complete?
> > >
> > > Mike
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Arsperl-users mailing list
> > Ars...@ar...
> >
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
|