Consuming the Web Service

Now that we’ve created our web service (at the location http://example.com/webservice.php), we can create a client script to consume the web service.

For this, we are going to use Zend_Soap_Client class. You could use PHP’s built-in SoapClient class (or even use a programming language other than PHP), but since this is a series on the Zend Framework we’ll use the Zend_Soap_Client class. Continue reading