|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36648 two same functions, one work and one can't work.
Submitted: 2006-03-07 17:55 UTC Modified: 2006-03-15 01:00 UTC
From: roderja at hotmail dot com Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.1.2 OS: windows xp sp2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: roderja at hotmail dot com
New email:
PHP Version: OS:


 [2006-03-07 17:55 UTC] roderja at hotmail dot com
I build one web services has two functions.
One is ConnectDB
One is testdb
The different between these two function is their functions name,
I face two problem:
1. Just only ConnectDB can work.
2. If I change the name of ConnectDB in server13.php client13.php and server13.wsdl, it can't work. I just can use "ConnectDB" to define the name of my function.

Reproduce code:

I also compress three files into the following file


Expected result:
Id : abc

Name : 123

Id : abc

Name : 123

Actual result:
 Id : abc

Name : 123
Fatal error: Uncaught SoapFault exception: [Client] Function ("testdb") is not a valid method for this service in E:\xampp\htdocs\Ja\goodapi\client13.php:21 Stack trace: #0 [internal function]: SoapClient->__call('testdb', Array) #1 E:\xampp\htdocs\Ja\goodapi\client13.php(21): SoapClient->testdb(Object(stdClass)) #2 {main} thrown in E:\xampp\htdocs\Ja\goodapi\client13.php on line 21


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-07 18:12 UTC]
Please try using this CVS snapshot:
For Windows:

 [2006-03-15 01:00 UTC] 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".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 21:01:24 2023 UTC