Chapter 63. Zend_XmlRpc

Table of Contents

63.1. Introduction
63.2. Zend_XmlRpc_Client
63.2.1. Introduction
63.2.2. Method Calls
63.2.3. Types and Conversions
63.2.3.1. PHP Native Types as Parameters
63.2.3.2. Zend_XmlRpc_Value Objects as Parameters
63.2.4. Server Proxy Object
63.2.5. Error Handling
63.2.5.1. HTTP Errors
63.2.5.2. XML-RPC Faults
63.2.6. Server Introspection
63.2.7. From Request to Response
63.2.8. HTTP Client and Testing
63.3. Zend_XmlRpc_Server
63.3.1. Introduction
63.3.2. Basic Usage
63.3.3. Server Structure
63.3.4. Conventions
63.3.5. Utilizing Namespaces
63.3.6. Custom Request Objects
63.3.7. Custom Responses
63.3.8. Handling Exceptions via Faults
63.3.9. Caching Server Definitions Between Requests
63.3.10. Usage Examples
63.3.10.1. Basic Usage
63.3.10.2. Attaching a class
63.3.10.3. Attaching several classes using namespaces
63.3.10.4. Specifying exceptions to use as valid fault responses
63.3.10.5. Utilizing a custom request object
63.3.10.6. Utilizing a custom response object
63.3.10.7. Cache server definitions between requests

63.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.