php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41949 __soapCall (client) within new SoapServer object ignores uri
Submitted: 2007-07-10 12:34 UTC Modified: 2007-07-16 11:48 UTC
From: ak at greatnet dot de Assigned: dmitry (profile)
Status: Closed Package: SOAP related
PHP Version: 5.2.3 OS: Linux Debian 2.6.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ak at greatnet dot de
New email:
PHP Version: OS:

 

 [2007-07-10 12:34 UTC] 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' 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-12 10:39 UTC] 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-16 11:48 UTC] ak at greatnet dot de
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC