|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-26 13:30 UTC] andreas dot filsinger at cargobay dot de
[2005-03-29 11:14 UTC] andreas dot filsinger at cargobay dot de
[2005-07-01 11:34 UTC] andreas dot filsinger at cargobay dot de
[2008-11-28 14:40 UTC] dmitry@php.net
[2010-12-20 14:05 UTC] jani@php.net
-Package: Feature/Change Request
+Package: SOAP related
[2012-05-11 22:49 UTC] dlagtapon at gmail dot com
[2013-10-15 18:04 UTC] wal3 at mindspring dot com
[2013-10-21 09:41 UTC] dmitry@php.net
[2017-03-02 10:48 UTC] jon at weborg dot no
[2017-10-24 08:07 UTC] kalle@php.net
-Status: Assigned
+Status: Open
-Assigned To: dmitry
+Assigned To:
[2022-04-08 08:14 UTC] ilutov@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: ilutov
[2022-04-08 08:14 UTC] ilutov@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
Description: ------------ the WSDL of "Apache.AXIS for Java" implements sort of function-overloading. If you have 3 published functions: int foo (int a,b); int foo (string a,b); int foo (int x); in XML this is done by extending the Function-Names by numbers: <fooRequest ... <fooRequest1 ... <fooRequest2 ... the Bug: with __getFunctions foo is formulated 3 times identical: int foo(int $a,int $b); int foo(int $a,int $b); int foo(int $a,int $b); if i call "foo" it its mapped to the first function with this name. Reproduce code: --------------- $user = "filsinger;Default"; $pwd = "WWO6C4vg"; $ip = "217.160.221.231:6666"; $service = "mapping/Mapping?wsdl"; $client = new SoapClient("http://$user:$pwd@$ip/ws/services/$service", array( "login" => "$user", "password" => "$pwd", "trace" => 1, "exceptions" => 0) ); $r = $client->__getFunctions(); foreach($r as $v) echo $v . "<br /><br />"; Expected result: ---------------- a) Quick Patch make a function name mapping to getMap(... getMap1(... getMap2(... so i can use getMap2(.. and be happy! b) php 6.0.0 ;-) true identical function names, if this is called try to fill the function-parameters from the first function with this name, if this fails, take the next with this name ... take that implemetation where filling the parameter does not fail. If there no implementation fits: create an error. If more than one parameter fits: create an error: Actual result: -------------- * all the overloaded functions have the parameter set of the most top-function.