From: martin at spuetz dot net Operating system: Linux PHP version: 5.3.0 PHP Bug Type: SOAP related Bug description: PHP doesn't run correct method
Description: ------------ I have two methods test1() and test2(), but PHP always runs the first one. You can see this on the following link: http://www.spuetz.net/client.php http://www.spuetz.net/source.txt It does works, when I add a parameter (change the method signature?): http://www.spuetz.net/client1.php http://www.spuetz.net/source1.txt The server is running 5.2.10 (http://www.spuetz.net/info.php), but I tried it with 5.3.0, too. The wsdl file was generated with Zend Studio. Reproduce code: --------------- class Testserver { public function test1() { return "test1"; } public function test2() { return "test2"; } } [...] var_dump($client->test1()); var_dump($client->test2()); Expected result: ---------------- string(5) "test1" string(5) "test2" Actual result: -------------- string(5) "test1" string(5) "test1" -- Edit bug report at http://bugs.php.net/?id=49495&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49495&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49495&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49495&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49495&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49495&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49495&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49495&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49495&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49495&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49495&r=support Expected behavior: http://bugs.php.net/fix.php?id=49495&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49495&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49495&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49495&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49495&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49495&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49495&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49495&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49495&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49495&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49495&r=mysqlcfg