XML-RPC HOWTO

Eric Kidd

Source Builders

eric.kidd@pobox.com

0.5, 2001-01-23

Describes how to use XML-RPC to implement clients and servers in a variety of languages. Provides example code in Perl, Python, C, C++, Java and PHP. Includes sections on Zope and KDE 2.0. Applies to all operating systems with XML-RPC support.


Table of Contents
1. Legal Notice
2. What is XML-RPC?
2.1. How it Works
2.2. Supported Data Types
2.3. The History of XML-RPC
3. XML-RPC vs. Other Protocols
3.1. XML-RPC vs. CORBA
3.2. XML-RPC vs. DCOM
3.3. XML-RPC vs. SOAP
4. Sample API: sumAndDifference
5. Using XML-RPC with Perl
5.1. A Perl Client
5.2. A Stand-Alone Perl Server
5.3. A CGI-Based Perl Server
6. Using XML-RPC with Python
6.1. A Python Client
7. Using XML-RPC with C and C++
7.1. A C Client
7.2. A C++ Client
7.3. A CGI-Based C Server
8. Using XML-RPC with Java
8.1. A Java Client
8.2. A Stand-Alone Java Server
9. Using XML-RPC with PHP
9.1. A PHP Client
9.2. A PHP Server
10. Applications with Built-in XML-RPC Support
10.1. Zope
10.2. KDE 2.0
11. About This Document
11.1. New Versions of This Document
11.2. Submitting Other Snippets