Chapter 62. Zend_XmlRpc

Table of Contents

62.1. Introduction
62.2. Zend_XmlRpc_Client
62.2.1. Introduction
62.2.2. Method Calls
62.2.3. Types and Conversions
62.2.3.1. PHP Native Types as Parameters
62.2.3.2. Zend_XmlRpc_Value Objects as Parameters
62.2.4. Server Proxy Object
62.2.5. Error Handling
62.2.5.1. HTTP Errors
62.2.5.2. XML-RPC Faults
62.2.6. Server Introspection
62.2.7. From Request to Response
62.2.8. HTTP Client and Testing
62.3. Zend_XmlRpc_Server
62.3.1. Introduction
62.3.2. Basic Usage
62.3.3. Server Structure
62.3.4. Conventions
62.3.5. Utilizing Namespaces
62.3.6. Custom Request Objects
62.3.7. Custom Responses
62.3.8. Handling Exceptions via Faults
62.3.9. Caching Server Definitions Between Requests
62.3.10. Usage Examples
62.3.10.1. Basic Usage
62.3.10.2. Attaching a class
62.3.10.3. Attaching several classes using namespaces
62.3.10.4. Specifying exceptions to use as valid fault responses
62.3.10.5. Utilizing a custom request object
62.3.10.6. Utilizing a custom response object
62.3.10.7. Cache server definitions between requests

62.1. Introduction

From its home page, XML-RPC is described as a "...remote procedure calling using HTTP as the transport and XML as the encoding. XML-RPC is designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and returned."

Zend Framework provides support for both consuming remote XML-RPC services and building new XML-RPC servers.