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

From: Date: Wed, 11 Jul 2007 07:21:32 +0000
Subject: #41949 [Opn->Asn]: __soapCall (client) within new SoapServer object ignores uri
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114873@lists.php.net to get a copy of this message
ID: 41949 Updated by: tony2001@php.net Reported By: ak at greatnet dot de -Status: Open +Status: Assigned Bug Type: SOAP related Operating System: Linux Debian 2.6.18 PHP Version: 5.2.3 -Assigned To: +Assigned To: dmitry 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 (#114873) next »