ID: 47021
Comment by: shadda at gmail dot com
Reported By: daniel dot gorski at develnet dot org
Status: To be documented
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5.3CVS-2009-01-06 (CVS)
New Comment:
I ran into this bug today myself, and after having compiled the latest
snapshot as of 8:00pm CST 2009-05-16 I am still experiencing this error.
Previous Comments:
------------------------------------------------------------------------
[2009-04-16 10:56:27] bjori@php.net
This was fixed by introducing an 'dechunk' stream filter, see
http://news.php.net/php.cvs/57042
------------------------------------------------------------------------
[2009-04-16 10:34:48] dmitry@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2009-01-26 10:54:53] giovanni at giacobbi dot net
Please see related discussion:
http://marc.info/?t=123291993300002&r=1&w=2
See also bug report #43069 which actually caused this bug.
------------------------------------------------------------------------
[2009-01-22 15:35:02] ml at x-net dot be
I can confirm this bug. I tried avoiding the chunking in Apache by
using mod_deflate, but the PHP SOAP client probably doesn't send an
Accept-Encoding header with gzip in it.
------------------------------------------------------------------------
[2009-01-06 16:28:52] daniel dot gorski at develnet dot org
Description:
------------
The \SoapClient (and probably the \SoapServer) stumble over WSDL files
that are delivered via HTTP in chunks, carrying the HTTP response header
"Transfer-Encoding: chunked".
Reproduce code:
---------------
$sc = \SoapClient('http://any.wsdl/that/is/delivered/in/chunks');
Expected result:
----------------
No error, intantiation and initialization of the \SoapClient object.
Actual result:
--------------
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL: Couldn't load from [URL]: Start tag expected, '<' not found in
[FILE]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47021&edit=1