View Issue Details

IDProjectCategoryView StatusLast Update
0011332mantisbttoolspublic2010-02-22 14:35
Reporterrombert Assigned Torombert  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.2.0 
Summary0011332: 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.

TagsNo tags attached.

Relationships

child of 0011330 closedatrol Phing-based build system 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.2.x 96813c57

2010-01-05 19:27

rombert


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

rombert


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