Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I am new to Perl and cannot get SOAP::LITE to work. I have a Windows 2008 R2 server with Strawberry Perl verion 5.8.1.1 (it comes with what I need already copiled).I can get regular (non-web service)Perl scripts to run no problem both command line and via IIS. However, when ever I try to put USE SOAP::LITE in a script I get a BEGIN failed --compilation error on both Lite.pm and Constants.pm. Both errors ultimately point to the Lite.pm file where it checks the version. I put in my own print commands in Lite.pm and confirmed it executes the die command when it checks:

 defined($version) && defined(my def = $SOAP::Constants::SOAP_VERSIONS{$version})

I also verifed the function is receiving a version value of 1.1 which seems correct. Has anyone heard of this? I have Googled and found nothing and checked docs. My code is straight from http://guide.soaplite.com/#writing a cgibased server and http://guide.soaplite.com/#writing a client. There is nothing fancy or complicated at all.

Thanks for any guidance or suggestions you can give.

Replies are listed 'Best First'.
Re: SOAP::LITE apparent version error
by Anonymous Monk on Jun 04, 2014 at 14:08 UTC
    There is a known syntax error in the latest version of SOAP::Lite, but the developer hasn't fixed it yet.

      I guess that means I have to fix it or wait. Thanks.

      Can you link the bug report?

Re: SOAP::LITE apparent version error
by Anonymous Monk on Jun 04, 2014 at 21:47 UTC
    What is the exact error message?