The OO interface is just a layer on top of the standard ars_Get... functions. The $c->query() method, for example, uses ars_GetListEntry internally.
Without having seen some code, I can only take a guess as to what went wrong with the failed ars_GetListEntry attempts: ars_GetListEntry could have been called with the wrong number of arguments (probably the firstRetrieve parameter missing). In this case, ars_GetListEntry is aborted before any connection over the network occurs. The way to detect this would be to check $ars_errstr after the ars_GetListEntry call, but if this is omitted the whole behaviour might indeed appear quite mysterious. Regards, Thilo Stapff Peter Farr wrote: > The reason I switched to the OO version of the interface was because the > old style one did not return any data. I could do calls like > ars_GetListField, ars_GetFieldByName and ars_GetServerInfo, but any calls > that tried to retrieve data like ars_GetListEntryWithFields or > ars_GetListEntry did not return anything. When I asked one of the Remedy > developers to trace it on their side he could see the API calls for login, > ars_GetListField (or whatever), but never saw anything in the log if I > tried ars_GetListEntry. It is like the API never sent any request at all > to the server if it involved reading field contents. > > When I switched to the OO style we could see all the calls come across in > the trace, including $c->getFieldID() and $c->getAsHash(), and even > better, I actually get data back into Perl. Then we ran into the > openForm() issue, which we have resolved by creating a self-join with no > enumerated fields(thanks Jarl). > > I am pretty much ready to just switch to C if I run into any more issues. > I am on a very short schedule. ------------------------------------------------------------------------- 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 Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users