Edit report at https://bugs.php.net/bug.php?id=47021&edit=1
ID: 47021
Comment by: gbaudoin at gmail dot com
Reported by: daniel dot gorski at develnet dot org
Summary: SoapClient stumbles over WSDL delivered with
"Transfer-Encoding: chunked"
Status: Open
Type: Bug
Package: SOAP related
Operating System: Linux
PHP Version: 5.3CVS-2009-01-06 (CVS)
Block user comment: N
Private report: N
New Comment:
Workaround : Use a stream context specifying the protocol 1.0 of HTTP :
$opts = array('http' => array('protocol_version' => '1.0'));
$context = stream_context_create($opts);
$this->client = new SoapClient($wsdl, array('stream_context' => $context));
Previous Comments:
------------------------------------------------------------------------
[2010-08-17 19:14:28] n dot engyozov at taxundo dot com
I can confirm the problem is still present in my PHP version 5.3.3 even after
recompiling with changes made by Dmitry and with disabled curlwrapper. The
problem breaks wsdls from yahoo i google APIs.
------------------------------------------------------------------------
[2010-03-03 12:26:58] pcdinh at gmail dot com
Have you tried to recompile PHP with --without-curlwrapper? I solved my case.
------------------------------------------------------------------------
[2009-05-17 05:18:55] shadda at gmail dot com
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.
------------------------------------------------------------------------
[2009-04-16 10:56:27] [email protected]
This was fixed by introducing an 'dechunk' stream filter, see
http://news.php.net/php.cvs/57042
------------------------------------------------------------------------
[2009-04-16 10:34:48] [email protected]
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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=47021
--
Edit this bug report at https://bugs.php.net/bug.php?id=47021&edit=1