Method not defined error

From: Date: Wed, 07 Jan 2004 00:50:20 +0000
Subject: Method not defined error
Groups: php.soap 
Request: Send a blank email to php-soap+get-1290@lists.php.net to get a copy of this message
I am working on a little sample soap service just to get myself up on php and soap before building a real product and I have constructed a wsdl file and written a corresponding(or so I think) php script to handle what I have defined in wsdl. I bound my server to the wsdl following an example I saw in some slides from phpcon. However I get the following error when I test out my server: pear_error pear_error :: method '{http://ww.cyberkni.net/links/testing.wsdl}hello_soap' not defined in service My code is this: <?php require_once('SOAP/Server.php'); class SOAP_system { function hello_soap($message) { return "Hello you said: $message"; } } $server = new Soap_Server('urn:SOAP_system'); $handler = new SOAP_system(); $server->bindWSDL("http://ww.cyberkni.net/links/testing.wsdl"); $server->setClass('handler'); $server->service($HTTP_RAW_POST_DATA); ?> Am I missing something? Thanks, Dan

« previous php.soap (#1290) next »