Thanks Thilo - we did replace the defined constants with the appropriate
integer and it worked fine. =20
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Thilo Stapff
Sent: Wednesday, September 13, 2006 1:47 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Error with GetEntryBLOB using ARSPerl
1.8002
I don't see any reason why this shouldn't work with ARSperl 1.8002.
The call syntax also seems to be mostly correct, except that the entry
id parameter looks a bit strange. It should definitely be quoted to
prevent numeric evaluation of the contained "-" character.
You might also try using the number 2 directly instead of the defined
constant AR_LOC_BUFFER (or 1 for AR_LOC_FILENAME).
Regards,
Thilo Stapff
Galloway, Mark J (Mark) schrieb:
>=20
> We are having a problem with the GetEntryBLOB call (ARSPerl 1.8002 is=20
> our version). Our statement is as follows:
>=20
> my $a =3D ars_GetEntryBLOB($c, $schema, 5-0047660, 910000325,=20
> ARS::AR_LOC_BUFFER);
>=20
> It is an Attachment field we are retrieving. But we keep getting the=20
> following error no matter what we try:
>=20
> GetEntryBLOB: [ERROR]* locType parameter is required*. (*ARERR
#80006*)
> at ./ARAttachmentUpload.pl line 64, <DATA>=20
> line 123.
>=20
> * NOTE: We also get this when trying to pull the attachment into
> a file and using the ARS::AR_LOC_FILENAME*
> We've tried different entry ids, etc. Is there something we are
> missing ? Is it possible we need to go to a later version
>=20
> of ARSPerl ?
> Any help would be greatly appreciated.
> Thanks,
>=20
> Mark J. Galloway
> (630) 224-2101
> mga...@lu...
>=20
>=20
> ----------------------------------------------------------------------
> --
>=20
> ----------------------------------------------------------------------
> --- Using Tomcat but need to do more? Need to support web services,=20
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on=20
> Apache Geronimo
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
1216
> 42
>=20
>=20
> ----------------------------------------------------------------------
> --
>=20
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|