eine Methode aufrufen return bool(false) in nusoap

wenn ich eine Methode aufrufen und var_dump($result) zeigen dann bool(false) warum?
ich meine Parameter zum Beispiel und 1234 für das schreiben hier:

require_once('../class/nusoap.class.php');
//Create the client instance
$client = new soapclient('sample?wsdl' ,'wsdl', '', '', '', '');
$soapClient->soap_defencoding = 'UTF-8';
$soapClient->debug_flag = false;

//Check for an error
$err = $client->getError();
if ($err) {
    //Display the error
    echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
    //At this point, you know the call that follows will fail
}
//Call the SOAP method
$result = $client->call('enqueue', array('from' => '+12345',
'rcpt_array' => '123456',
'msg' => 'hi',
'uname' => 'example1',
'pass' => 'example2'));
var_dump($result);

InformationsquelleAutor user1574533 | 2012-08-11

Schreibe einen Kommentar