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.


In reply to SOAP::Lite issues... stumped by codejerk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.