
21 Jan
2011
21 Jan
'11
10:46 a.m.
Hi Nils,
that is an interesting one!
I would have preferred it to be a little less interesting :-)
Just a first try, do you use SSL and if so, can you retry without? And can you post your SOAP script?
Nope, SSL is (currently) not part of the picture - I tried to simplify the setup as much as I could. But by some hours of heavy web browsing I actually found out what's wrong ... there is a bug in SOAP::Lite, in SOAP/Transport/HTTP.pm, to be precise: [pete@neos-otrs1 Transport]$ diff HTTP.pm HTTP.pm.buggy 559c559 < while ( read( STDIN, $buffer, $length ) ) { ---
while ( sysread( STDIN, $buffer, $length ) ) {
Just replace 'sysread' by 'read' in line 559, and it works. Cheers, Pete.