http://www.perlmonks.org?node_id=745845

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

Hi fellow monks,

I'm using SOAP::Lite with perl 5.8.0, and I'm running into a character encoding problem only some of the time. It's pretty clear that the Content Length as computed by SOAP::Lite versus LWP is not the same.

My question is: are there any situations where the LWP length hack in SOAP::Lite will NOT work? I seem to be occasionally running into the problem that this person is also running into:

http://community.salesforce.com/sforce/board/message?board.id=PerlDevelopment&message.id=3496

  • Comment on SOAP::Lite and LWP length hack not working

Replies are listed 'Best First'.
Re: SOAP::Lite and LWP length hack not working
by Anonymous Monk on Feb 24, 2009 at 03:01 UTC
    Upgrade.
    Upgrade LWP (libwww-perl-5.825).
    Upgrade SOAP::Lite (SOAP-Lite-0.710.08).
    Upgrade all LWP/SOAP::Lite prerequisites.
    Upgrade perl 5.8.0 (perl-5.8.9).
    That hack is ancient(2006), so if it hasn't been obsoleted, you need to submit a bug report (including a code example that demonstrates the bug).