#46878 [Opn->Ver]: my wsdl is not loaded correctly
| From: | jani@php.net | Date: | Sat, 25 Apr 2009 16:18:13 +0000 |
| Subject: | #46878 [Opn->Ver]: my wsdl is not loaded correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136309@lists.php.net to get a copy of this message | ||
ID: 46878
Updated by: jani@php.net
Reported By: a at rejetto dot com
-Status: Open
+Status: Verified
Bug Type: SOAP related
Operating System: *
-PHP Version: 5.2CVS-2008-12-16 (snap)
+PHP Version: 5.*, 6CVS (2009-04-25)
Previous Comments:
------------------------------------------------------------------------
[2009-04-03 12:30:04] etienne dot dysli at unil dot ch
Also reproduced with snapshots 5.3-200904031030 and 6.0-200904031030.
------------------------------------------------------------------------
[2009-04-03 11:17:24] etienne dot dysli at unil dot ch
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.
------------------------------------------------------------------------
[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