#47021 [NEW]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
From: daniel dot gorski at develnet dot org
Operating system: Linux
PHP version: 5.3CVS-2009-01-06 (CVS)
PHP Bug Type: SOAP related
Bug description: SoapClient stumbles over WSDL delivered with "Transfer-Encoding:
chunked"
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 bug report at http://bugs.php.net/?id=47021&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47021&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47021&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47021&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47021&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47021&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47021&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47021&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47021&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47021&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47021&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47021&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47021&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47021&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47021&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47021&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47021&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47021&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47021&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47021&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47021&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47021&r=mysqlcfg
Thread (14 messages)
- daniel dot gorski at develnet dot org
- ml at x-net dot be#47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- giovanni at giacobbi dot net#47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- lsmith@php.net#47021 [Opn->Asn]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- dmitry@php.net#47021 [Asn->Csd]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- bjori@php.net#47021 [Csd->Tbd]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- shadda at gmail dot com#47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- "Bug #47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- n dot engyozov at taxundo dot comBug #47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- gbaudoin at gmail dot comBug #47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- rowan dot collins at gmail dot comBug #47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- rowan dot collins at gmail dot comBug #47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- rowan dot collins at gmail dot comBug #47021 [Com]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
- mbeccati@php.netBug #47021 [Opn->Csd]: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"