: followed by each of the methods. : Any setting of headers is being done inside Frontier. And, as I said, I've tests for each of the methods, and most are working fine. For that matter, if I pass this method a different department number, it works okay. I have 2 departments in my test data - one department has 2 people in it, and the other has 27 people in it. In the live system, there's going to be departments with a couple hundred people in it! I don't see anything obvious in the method that should impact the headers. But I don't know what code is generating the headers, so I can't tell if there's something weird in the CGI environment that's influcing the code in this one case.BEGIN { use Log::Log4perl qw(:easy); Log::Log4perl->easy_init( { file => ">> /tmp/uiv2_logfile.txt", level => $INFO, }, ); $SIG{__DIE__} = sub { if($^S) { # We're in an eval {} and don't want to log # this message but catch it later return; } $Log::Log4perl::caller_depth++; LOGDIE @_; }; } use strict; use warnings; use diagnostics; use CGI; use CGI::Carp 'fatalsToBrowser'; use Frontier::RPC2; use Frontier::Responder; use DBI; $ENV{ORACLE_HOME} = '/vol/ora_client/product/10.2.0.2'; my $Schema = "lv"; my $conn_data="/path/to/connection_information"; open (CONNECTION_DATA, $conn_data) or die "Failed to open connection data file\n"; my $DBHOST = <CONNECTION_DATA>; my $DBUSER = <CONNECTION_DATA>; my $DBPASS = <CONNECTION_DATA>; close (CONNECTION_DATA); chomp ($DBHOST); chomp ($DBUSER); chomp ($DBPASS); my $res = Frontier::Responder->new( methods => { Get_Login => \&Get_Login, Get_Last_Name => \&Get_Last_Name, Get_First_Name => \&Get_First_Name, Get_Dept_No => \&Get_Dept_No, Get_AltEmpNo => \&Get_AltEmpNo, Get_Supervisor_Emp_No => \&Get_Supervisor_Emp_No, Get_Job_Class => \&Get_Job_Class, GetAllByLastName => \&GetAllByLastName, GetAllByFirstName => \&GetAllByFirstName, GetAllByFirstOrLastName => \&GetAllByFirstOrLastName +, GetAllByLogin => \&GetAllByLogin, GetAllByDept => \&GetAllByDept, GetAllByEmpNo => \&GetAllByEmpNo, GetAllByDeptExtRoom => \&GetAllByDeptExtRoom, GetAllBySupervisor => \&GetAllBySupervisor, GetUnixContractorInfo => \&GetUnixContractorInfo, GetManagerList => \&GetManagerList, GetPeopleReportingTo => \&GetPeopleReportingTo, Get_LoginByEmpNo => \&Get_LoginByEmpNo } ); print $res->answer;
In reply to Re^2: Help sought determining why Frontier::Client reporting too many header lines
by lvirden
in thread Help sought determining why Frontier::Client reporting too many header lines
by lvirden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |