XML-RPC WebServices
Background
Webservices are a way to make remote procedure calls via standard internet protocols. The following are a few simple XML-RPC WebServices that i have created to demonstrate their use.
A list of Implementations and Sample Code are available for download along with more information about XML-RPC at http://www.xmlrpc.com.
Example
A brief example of the suda.getInfo is available to see what parameters get passed back and forth from the client to server marshalled in XML.
Functions
suda.getHoliday
URI: /projects/holidays/holidays-xml-rpc.php
HOST: suda.co.uk
PARAMETERS: month day
RESULTS: title, description
This function takes two parameters, a month and day. It will return a lesser known holiday that corresponds to the day.
[
suda.getHoliday example month=1 day=4]
suda.getInfo
URI: /projects/RPC/ws-suda.php
HOST: suda.co.uk
PARAMETERS: none
RESULTS: name, email, url, phone, pobox, extadd, street, locality, region, pcode, country
This function will return contact information corresponding to the vCard format.
[
suda.getInfo example]
Last modified: October 11, 2009 17:02:16 UTC
Copyright 2002-©-2024 Brian Suda
http://suda.co.uk/projects/RPC/