ID: 47021 Updated by: lsm...@php.net Reported By: daniel dot gorski at develnet dot org -Status: Open +Status: Assigned Bug Type: SOAP related Operating System: Linux PHP Version: 5.3CVS-2009-01-06 (CVS) Assigned To: dmitry
Previous Comments: ------------------------------------------------------------------------ [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