ZF-9892: Zend_Soap_Client getFunctions doesn't list functions properly. And call to such functions fail.

Description

If there are more than one functions with same name but with different parameters, then all such functions listed in $client->getFunctions() have incorrect parameters.

For example http://abslive3.timesgroup.com/clsReturnDataSet.so… has two functions :

ReturnDataset(string $sql, string $TableName) and ReturnDataset(string $tName)

but both of these are listed as ReturnDataset(string $sql, string $TableName) and ReturnDataset(string $sql, string $TableName).

Besides this, call to $client->ReturnDataset(string $tName) seems to fail.

Comments

I don't think this is an ZF issue because we are using SoapClient::__getFunctions() to get this list of functions.

If this is a valid WSDL file - it's a PHP bug.