出现这种情况,第一,可能没定义命名空间。第二,没有创建客户端。
$server->configureWSDL(<webservicename>, <namespace>);
nusoap定义客户端。
<?php
// Pull in the NuSOAP code
require_once('lib/nusoap.php');
// Create the client instance
$client = new nusoap_client('your server url'); // using nosoap_client
// Call the SOAP method
$result = $client->call('hello', array('name' => 'Pingu'));
// Display the result
print_r($result)
?>