Bug #66226 [NEW]: WSDL-based SOAP server fails to receive more than 32kb of data

From: Date: Tue, 03 Dec 2013 13:13:00 +0000
Subject: Bug #66226 [NEW]: WSDL-based SOAP server fails to receive more than 32kb of data
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183101@lists.php.net to get a copy of this message
From:             andreas dot lindemann at de dot bp dot com
Operating system: Solaris
PHP version:      5.5.6
Package:          SOAP related
Bug Type:         Bug
Bug description:WSDL-based SOAP server fails to receive more than 32kb of data

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.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=66226&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66226&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66226&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66226&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66226&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66226&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66226&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66226&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66226&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66226&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66226&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66226&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66226&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66226&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66226&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66226&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66226&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66226&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66226&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66226&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66226&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#183101) next »