php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46878 my wsdl is not loaded correctly
Submitted: 2008-12-16 10:20 UTC Modified: 2009-04-25 16:18 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: a at rejetto dot com Assigned:
Status: Verified Package: SOAP related
PHP Version: 5.*, 6CVS (2009-04-25) OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: a at rejetto dot com
New email:
PHP Version: OS:

 

 [2008-12-16 10:20 UTC] 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)"
}


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-03 11:17 UTC] 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.
 [2009-04-03 12:30 UTC] etienne dot dysli at unil dot ch
Also reproduced with snapshots 5.3-200904031030 and 6.0-200904031030.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 07:01:29 2024 UTC