News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ONLamp.com:
Developing Web Services Using PHP
July 27, 2007 @ 10:28:00

On O'Reilly's ONLamp.com website, there's a new tutorial by Deepak Vohra about the creation of web services with PHP, two different kinds - a SOAP service (and client) and an XML-RPC web service.

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. Before I delve further into developing web services with PHP, I shall briefly discuss web services.

HE starts with the SOAP service, using the functionality from the php_soap module to create a simple SOAP server (including the creation of a WSDL file, example included). The other side of things is included as well - a SOAP client that makes a request for items from a certain catalog and outputs to a page.

He uses the XML-RPC functionality to make the same type of service (with the same data) and includes the request and response XML for their request for the "hello" message the server responds with.

0 comments voice your opinion now!
soap xmlrpc webservice tutorial request response xml soap xmlrpc webservice tutorial request response xml


blog comments powered by Disqus

Similar Posts

DeveloperTutorials.com: AJAX and PHP Form Processing

IBM developerWorks: Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard

DeveloperTutorials.com: Effective Geotargeting with PHP

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6


Community Events

Don't see your event here?
Let us know!


api laravel series conference podcast configure framework interview composer application example introduction release symfony2 part2 opinion performance php7 language community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework