Perl Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 5.10

XML-RPC - Remote Procedure Call with XML and HTTP

This chapter provides tutorial examples and notes on XML-RPC. Topics include XML-RPC specifications; defining RPC calls as XML messages; sending RPC calls as HTTP requests; defining returning values as XML messages; receiving returning values as HTTP reponses.

What Is XML-RPC?

Defining a Remote Method Call in XML

Sending a Remote Method Call as a HTTP Request

Defining Returning Values of a Remote Method Call

Receiving Returning Values as a HTTP Response

Conclusion:

  • XML-RPC uses XML messages to hold remote method call information and returning values.
  • XML-RPC uses HTTP requests and response to deliver these XML messages.

Table of Contents

 About This Book

 Perl on Linux Systems

 ActivePerl on Windows Systems

 Data Types: Values and Variables

 Expressions, Operations and Simple Statements

 User Defined Subroutines

 Perl Built-in Debugger

 Name Spaces and Perl Module Files

 Symbolic (or Soft) References

 Hard References - Addresses of Memory Objects

 Objects (or References) and Classes (or Packages)

 Typeglob and Importing Identifiers from Other Packages

 String Built-in Functions and Performance

 File Handles and Data Input/Output

 Open Files in Binary Mode

 Open Directories and Read File Names

 File System Functions and Operations

 Converting Perl Script to Executable Binary

 Using DBM Database Files

 Using MySQL Database Server

 Socket Communication Over the Internet

 XML::Simple Module - XML Parser and Generator

 XML Communication Model

 SOAP::Lite - SOAP Server-Client Communication Module

 Perl Programs as IIS Server CGI Scripts

 CGI (Common Gateway Interface)

XML-RPC - Remote Procedure Call with XML and HTTP

 RPC::XML - Perl Implementation of XML-RPC

 Integrating Perl with Apache Web Server

 References

 Printable Copy - PDF Version

Dr. Herong Yang, updated in 2009
XML-RPC - Remote Procedure Call with XML and HTTP