NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem with Nusoap and Netbeans


Joined: 18 Aug 2008
Posts: 1
Reply with quote
I have to develop a client using nusoap (PHP) to invoke a function (by Netbeans)
This is wsdl file: http://myserver/elearning/elearning?wsdl

And this is the php file that I tried to invoke: generateLicense function in server

require_once('lib/nusoap.php');
$wsdl="http://myserver/elearning/elearning?wsdl";
$client=new nusoap_client($wsdl, 'wsdl');

$param = array(
'arg0' => '2002',
'arg1' => '2000',
'arg2' => 'test',
'arg3' => 'test',
'arg4' => '1'
);

$result = $client->call('generateLicense', $param);
$err = $client->getError();
echo $err;

The error:
soapenv:Client:
Cannot find the dispatch method

Anyone know, please help me

Thanks
View user's profileFind all posts by zilotvnSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
Cannot find the dispatch method

probably your SOAP server uses namespaces. Please add appropriate namespaces into the client code too. See links to the samples on the forum sticky.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Problem with Nusoap and Netbeans
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic