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.
-- 
Regards,

Peter Farr
Consulting Principal, LPI Solutions
Helping to design, build, manage and secure your data infrastructure

416.436.5977
[EMAIL PROTECTED]
http://www.LPI-Solutions.com

"They have discovered that they not only hate
their enemies but everyone who does not share
their hatred, and that they want to fight and to
force other people to fight."
   George Bernard Shaw, Androcles and the Lion

On Thu, August 23, 2007 04:33, Thilo Stapff wrote:
> As Jarl already explained, this is a problem with the new (since ARS
> 7.0) "custom" enum lists. ARSperl 1.90 supports them, so this is
> definitely a  problem with the OO interface.
>
> Regards,
> Thilo
>
>
> Jeff Murphy wrote:
>> Peter Farr wrote:
>>> Damn! I do not have any control over the Remedy side so I doubt there
>>> is
>>> anything I can do about it. Every time I start to use ARSPerl it throws
>>> up
>>> another roadblock.
>>>
>>> Thanks for the reply, Jarl.
>>
>>
>>
>> Make a simple form, if you can, that duplicates the problem and submit
>> the form definition and script. We can then look into adding that
>> functionality.
>>
>> 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
>> Arsperl-users@arsperl.org
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>
>
> -------------------------------------------------------------------------
> 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
>



-------------------------------------------------------------------------
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

Reply via email to