ID: 45524 Updated by: [email protected] Reported By: kill3r4hir3 at hotmail dot com -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: CentOS 5.2 PHP Version: 5.2.6 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2008-07-16 01:15:38] kill3r4hir3 at hotmail dot com 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 this bug report at http://bugs.php.net/?id=45524&edit=1
