[SOAP_Server] Building SOAP_Server from WSDL
| From: | Matthew Fonda | Date: | Wed, 13 Jul 2005 19:04:31 +0000 |
| Subject: | [SOAP_Server] Building SOAP_Server from WSDL | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19981@lists.php.net to get a copy of this message | ||
Hello,
I am attempting to create a SOAP web service using PEAR::SOAP::SOAP_Server class. I already have a WSDL file created, and would like to create the web service from it.
When using PHP5's ext/soap, this is as simple as:
$server = new SoapServer('file.wsdl');
$server->addFunction('functionName');
This does not seem to be the case in SOAP_Server. I have been expirementing with SOAP_Server::bindWSDL() and friends, but to no avail. Is the any simple way to do this using SOAP_Server?
(The docs seem very lacking in this area)
Thanks,
--Matthew
||