Developing Web Services Using PHP
A web service consists of a server to serve requests to the web service and a client to invoke methods on the web service. The PHP class library provides the SOAP extension to develop SOAP servers and clients and the XML-RPC extension to create XML-RPC servers and clients.
Here’s a tutorial on how to create XML-RPC and SOAP webservices in cases where REST won’t do.