Subject: | mod_perl2 related modules |
Hello,
I am moving some SOAP webservice implementation work from mod_perl1 to mod_perl2.
In conjunction with that I fell over Apache2::SOAP, this module seem to solve most of the
problems I experience, but anyway I think I should mention this.
But the mod_perl2 handling in SOAP::Transport::HTTP::Server seems broken. It refers to
some mod_perl2 related modules I have not been able to locate.
Apache::RequestRec
Apache::RequestIO
Apache::Const
Should probably read (I have included a patch),
Apache2::RequestRec
Apache2::RequestIO
Apache2::Const
You should have a look Apache2::SOAP for the similar body of code and perhaps you can
even refactor out the mod_perl2 handling in the the SOAP::Lite distribution, giving you one
thing less to worry about.
Thanks for the work you deliver on SOAP::Lite, it is the most frustration module to work with
when it does not work, but when it works it is fantastic :)
jonasbn
Subject: | HTTP.pm.patch |
Index: HTTP.pm
===================================================================
RCS file: /cvs/patches/SOAP-Lite-0.67/lib/SOAP/Transport/HTTP.pm,v
retrieving revision 1.1
diff -u -r1.1 HTTP.pm
--- HTTP.pm 1 Feb 2006 13:29:17 -0000 1.1
+++ HTTP.pm 1 Feb 2006 13:38:44 -0000
@@ -529,10 +529,10 @@
Apache::Constants->import('OK');
$self->{'MOD_PERL_VERSION'} = 1;
} elsif ($mod_perl::VERSION < 3) {
- require Apache::RequestRec;
- require Apache::RequestIO;
- require Apache::Const;
- Apache::Const->import(-compile => 'OK');
+ require Apache2::RequestRec;
+ require Apache2::RequestIO;
+ require Apache2::Const;
+ Apache2::Const->import(-compile => 'OK');
$self->{'MOD_PERL_VERSION'} = 2;
} else {
die "Unsupported version of mod_perl";