When the following code is executed, I get the error Could not find or load mod_perl at C:\Perl\site\lib\SOAP\Transport\HTTP.pm line 741, even though I successfully installed the module mod_perl2.
Code:
!#/usr/bin/perl
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::Apache -> dispatch_to('WorldFunctions') -> handle;
package WorldFunctions; sub new { bless {}, shift; }
How can I fix this error?
I don’t understand this SOAP business that well, but it seems to me that you installed
mod_perl2but the code needsmod_perl. Of course, for that to work, you probably have to go back to using Apache 1.x and I am assuming that is not a desirable option.It would seem to me that you need SOAP::Transport::HTTP2, but that modules seems to be in a little bit of a mess.
In any case, the README for Apache2::SOAP seems to hold the clue:
Given that the description above was written in 2008, are you sure
SOAP::Litehas not implemented that functionality?