ID: 47021 Comment by: ml at x-net dot be Reported By: daniel dot gorski at develnet dot org Status: Open Bug Type: SOAP related Operating System: Linux PHP Version: 5.3CVS-2009-01-06 (CVS) New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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