#41949 [Asn->Fbk]: __soapCall (client) within new SoapServer object ignores uri

From: Date: Thu, 12 Jul 2007 10:39:20 +0000
Subject: #41949 [Asn->Fbk]: __soapCall (client) within new SoapServer object ignores uri
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114965@lists.php.net to get a copy of this message
ID: 41949 Updated by: dmitry@php.net Reported By: ak at greatnet dot de -Status: Assigned +Status: Feedback Bug Type: SOAP related Operating System: Linux Debian 2.6.18 PHP Version: 5.2.3 Assigned To: dmitry New Comment: 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? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#114965) next »