From: [EMAIL PROTECTED] Operating system: Solaris 9 PHP version: 5.1.0 PHP Bug Type: SOAP related Bug description: Since fix of bug #35273 SOAP decoding of base64binary fails
Description: ------------ Installed today PHP 5.1.0 final and for the first time everything worked OK. But after five hours the WSDL cache outdated and the webservice refetched our WSDL. After that for the first time everything works OK and like exspected (for PHP 5.1!) - base64binarys decode as exspected (not like in 5.0 where this was missing). After reloading the page and when the SOAP extension used the WSDL from the cache the data was only available in raw base64 form. When reverting the following patch it works as exspected: http://cvs.php.net/diff.php/php-src/ext/soap/php_sdl.c?r1=1.88.2.1&r2=1.88.2.2&ty=h Reproduce code: --------------- * Clear the WSDL cache in /tmp * Access a SOAP service that returns a base64binary somewhere in its complex return type (this should work) * reload the page (now the data is not decoded) - if you remove the wsdl-* cache files it works again. -- Edit bug report at http://bugs.php.net/?id=35399&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35399&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35399&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35399&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35399&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35399&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35399&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35399&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35399&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35399&r=support Expected behavior: http://bugs.php.net/fix.php?id=35399&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35399&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35399&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35399&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35399&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35399&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35399&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35399&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35399&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35399&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35399&r=mysqlcfg