From:             pmattivi at programator dot net
Operating system: Fedora Core rel 3 (Heidelberg)
PHP version:      5.1.2
PHP Bug Type:     SOAP related
Bug description:  SoapClient->__getFunctions() returns invalid result

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 bug report at http://bugs.php.net/?id=37069&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37069&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37069&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37069&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37069&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37069&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37069&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37069&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37069&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37069&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37069&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37069&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37069&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37069&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37069&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37069&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37069&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37069&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37069&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37069&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37069&r=mysqlcfg

Reply via email to