suda.co.uk

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-©-2010 Brian Suda
http://suda.co.uk/projects/RPC/
twitter bird

You should follow me on twitter here.

I have been writing in short-form since November 22nd, 02006.

NAR logoI have been experimenting in the audio-form on with a Podcast. You can subscribe in iTunes to North Atlantic Radio and listen to a short bit of tech chat plus idle banter.
To help air more of my crazy ideas, thoughts and research, I started (optional.is) as a home to collect and publish long-form articles.