Loading ...
Sorry, an error occurred while loading the content.

3978Re: [soaplite] soaplite doesn't work with apache2

Expand Messages
  • Byrne Reese
    Oct 7, 2004
    • 0 Attachment
      I wouldn't necessarily go commenting out use and require statements. They
      are there for a reason. You need to make sure those packages have been
      installed instead of eliminating their import statements.

      But as for mod_perl 2 support, SOAP::Lite 0.65 (due out next week) will
      have this support integrated. But I am looking for someone to help me do
      some testing.

      The sourcecode currently in CVS has the changes necessary to work with
      mod_perl 1 and 2. Would you might helping me out?

      Byrne

      Hitoshi Asaeda wrote:

      > I tried to use SOAPLite 0.55 and 0.60, but both were failed with the use
      of mod_soap.
      > My OS is NetBSD-current. My apache server is 2.0.52. mod_perl is
      1.99.16. Perl is 5.6.1.
      > When I access my server with http://localhost/mod_soap, the page shows
      "Internal Server Error", and log files shows several error messages.
      Based on the error messages on that log, I modified pm files and tried
      again, but not succeeded.
      > Now I show these modifications.
      > 1. about SOAP/Lite.pm
      > I got; "[error] [client ::1] failed to resolve handler
      > `Apache::SOAP': Can't locate URI.pm in @INC (@INC ...) at
      > /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Lite.pm line 2720."
      Therefore I commented out "use URI".
      > 2. about SOAP/Transport/HTTP.pm
      > I got; "[error] [client ::1] failed to resolve handler
      > `Apache::SOAP': Can't locate URI.pm in @INC (@INC ...) at
      > /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line 218."
      > Therefore I commented out "use URI".
      > And I got; "[error] [client ::1] failed to resolve handler
      > `Apache::SOAP': Can't locate LWP/UserAgent.pm in @INC (@INC ...) at
      /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line
      196."
      > Therefore I commented out "require LWP::UserAgent".
      > And I got; "[error] [client ::1] failed to resolve handler
      > `Apache::SOAP': Can't locate Apache.pm in @INC (@INC ...) at
      > /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line 444."
      > Therefore I changed "require Apache" to "require Apache2".
      > And I got; "[error] [client ::1] failed to resolve handler
      > `Apache::SOAP': Can't locate Apache/Constants.pm in @INC (@INC ...)
      at /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line
      444."
      > I guess it should be "require Apache::Const". I did.
      > Finally I got; "[error] [client ::1] Can't locate object method "new"
      via package "HTTP::Headers" (perhaps you forgot to load
      "HTTP::Headers"?) at
      > /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP.pm line 431."
      > I gave up tracing this, and sent this mail.
      > Question:
      > Above changes are correct, or I just did stupid things?
      > Whether correct or not, can I solve the last error?
      > Anyway, how can I correctly use SOAPLite with apache? :)
      > I may forget some trivial setup/configuration/whatever?
      > Thank you.
      > --
      > Hitoshi
      > *Yahoo! Groups Sponsor*
      > ADVERTISEMENT
      > click here
      > <http://us.ard.yahoo.com/SIG=129roajrp/M=294855.5468653.6549235.3001176/D=groups/S=1705701014:HM/EXP=1097238981/A=2376776/R=0/SIG=11ldm1jvc/*http://promotions.yahoo.com/ydomains2004/index.html>

      > ------------------------------------------------------------------------
      *Yahoo! Groups Links*
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/soaplite/
      >
      > * To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      > <mailto:soaplite-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      > Service <http://docs.yahoo.com/info/terms/>.
    • Show all 5 messages in this topic