Re: SOAP Server method registration

From: Date: Tue, 21 Jan 2003 18:39:51 +0000
Subject: Re: SOAP Server method registration
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3388@lists.php.net to get a copy of this message
That documentation is for the php-soap extension in PECL, not the PEAR::SOAP class. You can find examples and some api docs in the soap talks on talks.php.net. Shane Mike Carter wrote:
Hi, Can anybody tell me how you register methods as being available via the SOAP server interface? Is it simply a case of using: $soapclass = new SOAP_RedBox(); $server->addObjectMap($soapclass,'urn:SOAP_RedBox'); Because I noticed in the PEAR documentation (http://pear.php.net/manual/en/pecl.soap.soapserver.php) some example code using: @dl('soap.so'); $server = new SoapServer("urn:HelloWorld"); $server->addFunction("hello_soap"); BTW - what is the 'soap.so' ? I was unaware of any SOAP extension? Bye,


« previous php.pear.general (#3388) next »