php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66226 WSDL-based SOAP server fails to receive more than 32kb of data
Submitted: 2013-12-03 13:13 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: andreas dot lindemann at de dot bp dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.5.6 OS: Solaris
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-12-03 13:13 UTC] andreas dot lindemann at de dot bp dot com
Description:
------------
We have encountered an issue that when using a SOAP webservice where client/server are both PHP-based and using a WSDL, the server fails to receive more than a certain amount of data (tests showing the limit is 32768 bytes here) in a stdClass object.
The following test script will fail with around 40.000 bytes. If the "for" loop is reduced to let's say 20000 iterations, then the script will succeed and deliver the expected result.

Test script:
---------------
Server, Client and WSDL code can be found here (bug tool wouldn't accept the content):

http://pastebin.com/VcvqgS7z



Expected result:
----------------
Data written to testsoap.log.

Actual result:
--------------
Webserver reports HTTP 500, however there is no error in the PHP log.
In server.php, code after $server->handle(); will not be executed, indicating that the PHP script has aborted.
No data is written to the testsoap.log.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC