#37069 [Opn->Fbk]: SoapClient->__getFunctions() returns invalid result

From: Date: Thu, 13 Apr 2006 11:19:07 +0000
Subject: #37069 [Opn->Fbk]: SoapClient->__getFunctions() returns invalid result
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95742@lists.php.net to get a copy of this message
ID: 37069 Updated by: tony2001@php.net Reported By: pmattivi at programator dot net -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: Fedora Core rel 3 (Heidelberg) PHP Version: 5.1.2 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#95742) next »