SOAP, of course, is NOT the ONLY way to implement web services. If you are open to other paradigms, check out REST .
Unlike SOAP (which has several standards / providers), REST is an agnostic of both the provider and the protocol. Instead, RESTful web services are implemented using these recommendations (from the Wikipedia article):
The RESTful web service (also called the RESTful web API) is a simple network service implemented using HTTP and REST principles. Such a web service can be regarded as a collection of resources. The definition of such a web service can be considered as including three aspects:
* The base URI for the web service, such as http://example.com/resources/ * The MIME type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid MIME type. * The set of operations supported by the web service using HTTP methods (eg, POST, GET, PUT or DELETE).
Back to PHP, here is a reference guide for implementing ZendFramework REST Server functions.
In addition, here is a link to another answer that I gave in this link, useful information about ZendFramework and REST.
source share