Instructions for SOAP ws
| From: | Luis Argerich | Date: | Thu, 29 May 2003 13:03:14 +0000 |
| Subject: | Instructions for SOAP ws | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-16803@lists.php.net to get a copy of this message | ||
Hi,
I want to implement a WSDL based webservice server & client using PHP. I've
tried using slides from several PHP talks from Shane but examples don't
work.
Can you point me to a quick working example of a WSDL based client & server
pls?
(WSDL is needed since the WS will be accessed from other non-php clients
that use the WSDL to access the service)
Example client:
include("SOAP/Client.php");
$wsdl_url = 'http://localhost/Foo.wsdl';
$WSDL =& new SOAP_WSDL($wsdl_url);
$soapclient =& $WSDL->getProxy();
echo $soapclient->echo_string('hey');
I just need instructions on how to build the server for this client.
Thanks in advance.