Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- buffered data error with SOAP requests
September 10, 2005, 12:29 am
rate this thread
Warning: SoapClient::__doRequest() [function.--doRequest]: 1 bytes of
buffered data lost during stream conversion! in <path\file.php> on line
When the request is between two different machines. When the soap call
is made to a wsdl on the same machine as the client with the same code
there is no warning. The expected data is returned and everything
works (and no data seems lost), but the warnings are annoying.
I haven't posted any code because it's happening with a large number of
soap requests on different wsdl files. I'm assuming it's some kind of
systemic problem. Any ideas?
Re: buffered data error with SOAP requests
soapserver file, which was created on a windows machine, had trailing
spaces at the end some lines of code. When I tested locally on my
windows machine it just ignored them, but when I deployed the files to
a linux machine it dropping the space then reporting there was a 1 byte
difference in what it expected in the response.