codejerk has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I've started exploring the SOAP modules and am having a very difficult time getting SOAP::Lite to work at all. It seems that documentation for SOAP::Lite is only current through 0.67, whereas 0.69 is the version on CPAN. I'm not sure if that is the root of the problem, but I doubt it. Here are the specifics:
my test script (pulled straight from soaplite.com):
use SOAP::Lite; print SOAP::Lite -> uri('http://www.soaplite.com/Temperatures') -> proxy('http://services.soaplite.com/temper.cgi') -> c2f(37.5) -> result;
the result of that script:
Can't locate object method "new" via package "SOAP::Packager::MIME" (perhaps you forgot to load "SOAP::Packager::MIME"?) at /usr/local/share/perl/5.8.7/SOAP/Lite.pm line 3241.
so... I go look at Lite.pm, around line 3241:
unless (ref $self) { my $class = ref($self) || $self; # Check whether we can clone. Only the SAME class allowed, no inhe +ritance $self = ref($soap) eq $class ? $soap->clone : { _transport => SOAP::Transport->new, _serializer => SOAP::Serializer->new, _deserializer => SOAP::Deserializer->new, _packager => SOAP::Packager::MIME->new, _schema => undef, _autoresult => 0, _on_action => sub { sprintf '"%s#%s"', shift || '', shift }, _on_fault => sub {ref $_[1] ? return $_[1] : Carp::croak $_[ +0]->transport->is_success ? $_[1] : $_[0]->transport->status}, };
as you can see, SOAP::Packager::MIME->new is called... but for the life of me, I can't find that routine anywhere. In fact, google only has 3 references to SOAP::Packager::MIME and none of them has any real information. I've updated (via the CPAN module) SOAP, SOAP::Packager, SOAP::Lite, and SOAP::MIME along with all prerequisites for these modules.
Does anyone else have experience with this problem? Have I missed something completely obvious? Please help me out here, brothers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite issues... stumped
by jdtoronto (Prior) on Sep 07, 2006 at 16:03 UTC | |
by gellyfish (Monsignor) on Sep 07, 2006 at 16:18 UTC | |
by codejerk (Initiate) on Sep 08, 2006 at 02:39 UTC | |
by gellyfish (Monsignor) on Sep 08, 2006 at 05:48 UTC | |
|
Re: SOAP::Lite issues... stumped
by randyk (Parson) on Sep 08, 2006 at 04:49 UTC | |
by gellyfish (Monsignor) on Sep 08, 2006 at 08:45 UTC | |
by hv (Prior) on Sep 08, 2006 at 10:29 UTC | |
by gellyfish (Monsignor) on Sep 08, 2006 at 10:37 UTC | |
by codejerk (Initiate) on Sep 08, 2006 at 14:25 UTC |