ID: 31781 Updated by: [EMAIL PROTECTED] Reported By: joern_h at gmx dot net -Status: Open +Status: Bogus Bug Type: SOAP related Operating System: Windows 2000 PHP Version: 5.0.2 -Assigned To: +Assigned To: dmitry New Comment:
This bag is the same as http://bugs.php.net/bug.php?id=30329 that is already fixed in php-5.0.3 and above. Previous Comments: ------------------------------------------------------------------------ [2005-01-31 16:32:02] joern_h at gmx dot net Description: ------------ The SOAP extension does not handle HTTP 1.0 responses which have no Content-Length or Connnection: CLose headers. The default behavior for HTTP 1.0 should be to read until the connection is closed. This problem occurs when calling a method on Apache Axis' SimpleAxisServer. Reproduce code: --------------- Call a webservice runnning on Apache's SimpleAxisServer. This server returns only the following HTTP headers: HTTP/1.0 200 OK Content-Type: text/xml; charset=utf-8 Set-Cookie: 14 Set-Cookie2: 14 Expected result: ---------------- PHP should read the response until the connection is closed. Actual result: -------------- SoapFault exception: [HTTP] Error Fetching http body, No Content-Length, connection closed or chunked data in C:\home\sources\se-projekt-sem5\rv-2005-01-18\SimpleAxisTest2.php:16 Stack trace: #0 C:\home\sources\se-projekt-sem5\rv-2005-01-18\SimpleAxisTest2.php(16): SoapClient->__call('<?xml version="...', 'http://127.0.0....', 'http://127.0.0....', 1) #1 {main} ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31781&edit=1
