xmlrpc via local proxy

Ben crescent_au at yahoo.com
Sun Nov 2 08:36:52 CET 2003


Hi all,

I'm trying to connect to URL such as http://betty.userland.com through
my LAN proxy. I've read earlier postings on this newsgroups but still
i haven't been able to figure out the way to do it. It doesn't look so
simple. It's very easy to do it using httplib and urllib but xmlrpc
looks a bit complicated. Can someone tell me if there is an easy way
around this problem?

My code is like this:

import xmlrpclib

betty = xmlrpclib.Server("http://betty.userland.com")
print betty.examples.getStateName(32)

Thanks
Ben




More information about the Python-list mailing list