from xmlrpclib import *

# simple test program (from the XML-RPC specification)

server = ServerProxy("http://localhost:8070")

print server

try:
    print server.examples.getStateName(41)
    except Error, v:
        print "ERROR", v
