ID: 46878 Comment by: etienne dot dysli at unil dot ch Reported By: a at rejetto dot com Status: Open Bug Type: SOAP related Operating System: * PHP Version: 5.2CVS-2008-12-16 (snap) New Comment:
I was able to reproduce this with the latest snapshot (5.2-200904030630) as well as 5.1.6 and 5.2.6. The SOAP code cannot distinguish two operations with the same name but different signatures. See also bug 37069. Previous Comments: ------------------------------------------------------------------------ [2008-12-16 10:20:19] a at rejetto dot com Description: ------------ this wsdl appears to be correct. Indeed, this website loads it correctly, showing method getNumeroEsami(matricola) http://www.soapclient.com/soapclient?template=%2Fclientform.html&fn=soapform&SoapTemplate=%2FSoapResult.html&SoapWSDL=http%3A%2F%2Fdelphi.uniroma2.it%2Ftotem%2Fservices%2FCarrieraStudenti%3Fwsdl&_ArraySize=2 by using the attached php code, you'll see the method is not listed (and another one is instead duplicated, non-sense isn't it?) Reproduce code: --------------- $soap = new SoapClient("http://delphi.uniroma2.it/totem/services/CarrieraStudenti?wsdl"); var_dump($soap->__getFunctions()); Expected result: ---------------- array(3) { [0]=> string(45) "string getNumeroEsami(string $cf, string $aa)" [1]=> string(45) "string getNumeroEsami(string $matricola)" [2]=> string(43) "Studente getElencoEsami(string $codFiscale)" } Actual result: -------------- array(3) { [0]=> string(45) "string getNumeroEsami(string $cf, string $aa)" [1]=> string(45) "string getNumeroEsami(string $cf, string $aa)" [2]=> string(43) "Studente getElencoEsami(string $codFiscale)" } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46878&edit=1