Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 53795 invoked from network); 5 Dec 2006 20:35:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2006 20:35:22 -0000 Received: (qmail 57831 invoked by uid 500); 5 Dec 2006 20:35:22 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 57812 invoked by uid 500); 5 Dec 2006 20:35:21 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 57801 invoked by uid 99); 5 Dec 2006 20:35:21 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of tomc@kendeco.com designates 64.122.217.130 as permitted sender) Received: from [64.122.217.130] (HELO smtp.kendeco.com) (64.122.217.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 12:35:15 -0800 Received: from smtp.kendeco.com (localhost.localdomain [127.0.0.1]) by smtp.kendeco.com (Postfix) with ESMTP id 3AF94232010 for ; Tue, 5 Dec 2006 14:34:16 -0600 (CST) Received: from meridian.kendeco.com (meridian.kendeco.com [204.107.148.116]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by smtp.kendeco.com (Postfix) with ESMTP id 1554023200C for ; Tue, 5 Dec 2006 14:34:16 -0600 (CST) Subject: Fedora Core 6, SOAP::Lite and mod_perl -- does this work? From: Tom Cross To: modperl@perl.apache.org Content-Type: text/plain Date: Tue, 05 Dec 2006 14:34:15 -0600 Message-Id: <1165350855.3247.54.camel@meridian.kendeco.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org According to some bugs in bugzilla.redhat.com, it looks like there is an issue with mod_perl on fc5,6, rhel3, and rhel4. I'm wondering if this is the case, or if I'm doing something wrong. Is this a mod_perl issue? I tried the fedora mod_perl (2.0.2) and I built a 2.0.3 mod_perl package and neither one worked. Fresh install of Fedora Core 6. Install mod_perl, perl-SOAP-Lite Fedora packages. Setup SOAP::Lite according to documentation by adding this to Apache's conf: SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar dispatch_to "/home/soap, MIME::Lite" PerlSetVar options "compress_threshold => 10000" Attempt to connect to simple "Hello World" SOAP server in /home/soap/ and I receive this message in /var/log/httpd/error_log: [Tue Dec 05 13:33:48 2006] [error] [client 204.107.148.116] Can't locate object method "dir_config" via package "Apache2::RequestRec" at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Transport/HTTP.pm line 653.\n ############################################## Simple Server in /home/soap/Server.pm: #!/usr/bin/perl -w package Server; sub testme ($$) { my ($class, $teststring) = @_; return $teststring . " from the Server"; } 1; ############################################### My test client: #!/usr/bin/perl -w use SOAP::Lite; my $kendeco_soap = SOAP::Lite -> uri('urn:Server') -> proxy('http://kearney.kendeco.com/soap') -> on_fault(sub { my($soap, $res) = @_; die ref $res ? $res->faultstring : $soap->transport->status, "\n"; }); $kendeco_soap->transport->timeout(150); $res = $kendeco_soap->testme ("This is a test"); $r = $res->result; print "R: $r\n"; ############################################################ Thanks for any/all feedback!! -- Tom Cross Voice: 320-253-6483 Ext 207 FAX: 320-253-6956 IS Manager E-mail: tomc@kendeco.com Kendeco Tool Crib http://www.kendeco.com