bhess has asked for the wisdom of the Perl Monks concerning the following question:
Error occurred making remote request call (Failed to locate method (search) in class (ABC_DB_SOAP) at /usr/local/perl/lib/site_perl/5.8.8/SOAP/Lite.pm line 2586.)
<Location /server> SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar options "compress_threshold => 1048576" PerlSetVar dispatch_to "/usr/local/mystuff/soap,ABC_DB_SOAP" </Location>Reading the perldoc for SOAP::Lite, it mentions:
For dynamic deployment you can specify the name either directly (in th +at case it will be "require"d without any restriction) or indirectly, + with a PATH. In that case, the ONLY path that will be available will + be the PATH given to the dispatch_to() method). For information how +to handle this situation see "SECURITY" section.
So I think that this is synonymous to the methods offered in the SECURITY section. Here is what the startup.pl file looks like:PerlRequire /usr/local/mystuff/conf/startup.pl
#!/usr/local/perl/bin/perl use ModPerl::Util (); use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::RequestUtil (); use Apache2::ServerRec (); use Apache2::ServerUtil (); use Apache2::Connection (); use Apache2::Log (); use Apache2::Const -compile => ':common'; use APR::Const -compile => ':common'; use APR::Table (); use DBI; use MyModule; 1;
|
|---|