From: kill3r4hir3 at hotmail dot com Operating system: CentOS 5.2 PHP version: 5.2.6 PHP Bug Type: SOAP related Bug description: Multiple SOAP functions with the same parameter list do not get called correctl
Description: ------------ Defining SOAP functions with the same parameter list causes the first function to be called no matter which function you call. The example code shows a SOAP service defining TestFunctionA and TestFunctionB both taking a parameter named $param. No matter which one you call the function defined first (TestFunctionA) will always be called. This will also happen if you have more than one SOAP function that does not take any parameters. Whichever function is defined first will always be called. Reproduce code: --------------- SOAP Server PHP: http://pastebin.com/f13f78410 SOAP Client PHP: http://pastebin.com/f707798bb WSDL: http://pastebin.com/fcd761de Expected result: ---------------- The expected result is that when you call TestFunctionB you would get a return value of "TestFunctionB: $param". Actual result: -------------- The actual result of calling TestFunctionB is that soap is calling TestFunctionA and returning the value of "TestFunctionA: $param". -- Edit bug report at http://bugs.php.net/?id=45524&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45524&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45524&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45524&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45524&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45524&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45524&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45524&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45524&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45524&r=support Expected behavior: http://bugs.php.net/fix.php?id=45524&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45524&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45524&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45524&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45524&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45524&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45524&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45524&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45524&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45524&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45524&r=mysqlcfg