Thread

Posted on Wed Jun 4 03:21:39 2008 by bibi
Content not bytes error in HTTP.pm
Hi, I get an error when running a simple SOAP client (the GlobalWeather.pl example): HTTP::Message content not bytes at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 187 I am using PERL version 5.8.8 SOAP::WSDL version 2.00.03 LWP version 5.810 I think the error comes from the funny way of calculating the content length and/or interference with LWP. But I cannot change anything in the modules since they are installed by my provider. Anyone has a fix for this problem without changing the module? Bibi.
Direct Responses: 8027 | Write a response
Posted on Thu Jun 5 21:17:00 2008 by mkutter in response to 8014
Re: Content not bytes error in HTTP.pm
Hi bibi,
thanks for reporting - this is an error in SOAP::Lite's SOAP::Transport::HTTP module (SOAP::WSDL uses SOAP::Lite's transport if installed).
Which SOAP::Lite version is installed?
Martin
Direct Responses: 8028 | Write a response
Posted on Thu Jun 5 21:40:33 2008 by bibi in response to 8027
Re: Content not bytes error in HTTP.pm
Thanks for your response, SOAP::Lite version is 0.710.05. I got my task done with just SOAP:Lite now, but will keep an eye on SOAP:WSDL. Thanks.
Direct Responses: 8237 | Write a response
Posted on Mon Jul 7 16:54:21 2008 by raph in response to 8028
Re: Content not bytes error in HTTP.pm
Hi,
I had the same problem.
On one server, it was solved by installing a more recent version of SOAP::Lite.
On another server, it was solved by installing a more recent version of HTTP::Message (part of libwww-perl).
Hope it will help.
Raphael
Write a response