WS example based on http://www.djangosnippets.org/snippets/979/ and http://www.lonelycode.com/2008/12/19/django-python-and-the-sorry-state-of-web-services/.