View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011332 | mantisbt | tools | public | 2010-01-05 18:42 | 2010-02-22 14:35 |
Reporter | rombert | Assigned To | rombert | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.2.0 | ||||
Summary | 0011332: Allow tests to run on PHP 5.3 | ||||
Description | Seems there are a number of issues with using the PHP SOAP client implemenation on PHP 5.3: This may ( unfortunately ) require another round of patches for NuSOAP. | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 96813c57 2010-01-05 19:27 Details Diff |
Fixes 0011332: Allow tests to run on PHP 5.3 Since PHP 5.3 the SoapClient requires a Content-Length header to be present. According to http://bugs.php.net/bug.php?id=49226 : SOAP retrieves the WSDL using HTTP/1.0, which does not have chunked transfers. Therefore, the server should provide a Content-length header. If it does not do that, SoapServer can not load the WSDL correctly. This is not a bug in PHP, since the content-length header is mandatory for HTTP/1.0 messages which have a body. This commit patches nusoap to send a Content-Length header for the WSDL file. |
Affected Issues 0011332 |
|
mod - library/nusoap/nusoap.php | Diff File | ||
MantisBT: master 317f809f 2010-01-05 19:27 Details Diff |
Fixes 0011332: Allow tests to run on PHP 5.3 Since PHP 5.3 the SoapClient requires a Content-Length header to be present. According to http://bugs.php.net/bug.php?id=49226 : SOAP retrieves the WSDL using HTTP/1.0, which does not have chunked transfers. Therefore, the server should provide a Content-length header. If it does not do that, SoapServer can not load the WSDL correctly. This is not a bug in PHP, since the content-length header is mandatory for HTTP/1.0 messages which have a body. This commit patches nusoap to send a Content-Length header for the WSDL file. |
Affected Issues 0011332 |
|
mod - library/nusoap/nusoap.php | Diff File |