XML-RPC for Python: "Secret Labs' xmlrpclib module is an implementation of the XML-RPC protocol. This implementation is tightly integrated with Python, which makes it very easy to call remote methods. For example, here's the Python code needed to call one of Userland's sample servers:
from xmlrpclib import Server
betty = Server('http://betty.userland.com')
print betty.examples.getStateName(41)
This results in a remote call to the examples.getStateName method published by the betty server, with the integer 41 as the single argument. The result from this call is a string with the value 'South Dakota'.
The marshalling and parsing classes provided by this module can also be used in XML-RPC server implementations. Sample code for Medusa and Python's SocketServer module is included in the current release."
Thursday, February 24, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- Yahoo! Mail: Revenge of the Oddpost
- MobileTracker - Cingular announces EDGE Wireless WAN service
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Common Gateway Interface (CGI) on the as400 / iSeries
- Table designs based on CSS and DIV elements
- The Laughing Boardroom video...a real world example!
- UDATE and *DATE in AS400 RPG
- IBM eServer iSeries - The Laughing Boardroom
- Does Anybody Care About AIX on the iSeries?
No comments:
Post a Comment