ID: 45524 Comment by: saiman at thefreeart dot com Reported By: kill3r4hir3 at hotmail dot com Status: No Feedback Bug Type: SOAP related Operating System: CentOS 5.2 PHP Version: 5.2.6 New Comment:
The bug still exist. I'm using PHP Version 5.2.6-2ubuntu4.1 on Ubuntu with Apache web server. Previous Comments: ------------------------------------------------------------------------ [2009-02-21 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-02-13 23:07:32] fel...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [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