keep getting: "method '' not defined in service '"
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Fri, 30 Jan 2004 16:32:37 +0000 |
| Subject: | keep getting: "method '' not defined in service '" | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1330@lists.php.net to get a copy of this message | ||
Ik keep getting:
method '' not defined in service ''
even with the most basic sample script. Am I missing something here?
For example this script:
<?php
require_once('nusoap.php');
$s = new soap_server;
$s->register('hello');
function hello($name){
// optionally catch an error and return a fault
if($name == ''){
return new soap_fault('Client','','Must supply a valid name.');
}
return "hello $name!";
}
$s->service($_POST);
?>