Now that you have understood how to consume different types of web services with PHP and PEAR you are probably interested in learning how to offer a web service. So in the second part of this chapter we will use the
XML_RPC package to offer a simple service that can easily be consumed by different clients and programming languages. Further we will offer the exact same functionality as a SOAP service and will see how intuitive working with SOAP and WSDL can be when using PHP 5 and
Services_Webservice. Last we will offer a REST-based service using nothing more than a web server, PHP, and
In the first part of this chapter we started our excursion into the field of web services ...