#41949 [Fbk->Csd]: __soapCall (client) within new SoapServer object ignores uri
| From: | ak at greatnet dot de | Date: | Mon, 16 Jul 2007 11:48:14 +0000 |
| Subject: | #41949 [Fbk->Csd]: __soapCall (client) within new SoapServer object ignores uri | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115110@lists.php.net to get a copy of this message | ||
ID: 41949
User updated by: ak at greatnet dot de
Reported By: ak at greatnet dot de
-Status: Feedback
+Status: Closed
Bug Type: SOAP related
Operating System: Linux Debian 2.6.18
PHP Version: 5.2.3
Assigned To: dmitry
New Comment:
Hello,
i think the error was related to apache.
After retrying this on other hosts the error was not reproduceable.
After upgrading the apache server ist works.
Previous Comments:
------------------------------------------------------------------------
[2007-07-12 10:39:20] dmitry@php.net
I cannot understand the report and I don't have enough information to
reroduce it.
Why do you think that URI should be poassed to SoapClient?
------------------------------------------------------------------------
[2007-07-10 12:34:31] ak at greatnet dot de
Description:
------------
calling a new client while executing a registered server function
results a 'No such operation' message.
Reproduce code:
---------------
<?
$server = new SoapServer(NULL,array('uri' => "soapserver.php5"));
$server->addFunction('submitTEST');
$server->handle();
$method="somemethod";
$params=array("test1"=>"test1");
function submitTEST ($method,$params)
{
$client = new SoapClient('http://some.far.wsdl');
$submit = $client->__soapCall($method, $params);
}
?>
Expected result:
----------------
Expected to see the result of the existing function on the external
soap server.
Actual result:
--------------
Uncaught SoapFault exception: [Server.userException] No such operation
'somemethod'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41949&edit=1