ID: 37069
Comment by: etienne dot dysli at unil dot ch
Reported By: pmattivi at programator dot net
Status: No Feedback
Bug Type: SOAP related
Operating System: Fedora Core rel 3 (Heidelberg)
PHP Version: 5.1.2
New Comment:
Reproduced with the latest snapshot (5.2-200904030630). The SOAP code
cannot distinguish two operations with the same name but different
signatures.
Expected result:
----------------
print_r($client->__getFunctions());
Array
(
[0] => string gfindObjects(string $query, int $hitPageStart, int
$hitPageSize, int $snippetsMax, int $fieldMaxLength, string $indexName,
string $resultPageXslt)
[1] => string gfindObjects(string $query, int $hitPageStart, int
$hitPageSize, int $snippetsMax, int $fieldMaxLength, string $indexName,
string $sortFields, string $resultPageXslt)
)
Actual result:
--------------
print_r($client->__getFunctions());
Array
(
[0] => string gfindObjects(string $query, int $hitPageStart, int
$hitPageSize, int $snippetsMax, int $fieldMaxLength, string $indexName,
string $resultPageXslt)
[1] => string gfindObjects(string $query, int $hitPageStart, int
$hitPageSize, int $snippetsMax, int $fieldMaxLength, string $indexName,
string $resultPageXslt)
)
Previous Comments:
------------------------------------------------------------------------
[2006-04-21 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-04-13 11:19:07] [email protected]
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-04-13 11:11:52] pmattivi at programator dot net
Description:
------------
I have a webservice with following functions:
functionx(String, String, String, String);
functionx(String, String, String);
when I create SoapClient and call __getFunctions() I get twice the same
method:
functionx(String, String, String, String);
then I'm unable to call second method with 3 params. The function with
4 params is allways called when I do a call with 3 params.
Reproduce code:
---------------
$client = new SoapClient("https://www.dummyurl.com/service?wsdl");
$functions = $client->__getFunctions();
print_r($functions);
Expected result:
----------------
functionx(String, String, String, String);
functionx(String, String, String);
Actual result:
--------------
functionx(String, String, String, String);
functionx(String, String, String, String);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37069&edit=1