Chapter 43. Zend_XmlRpc

Table of Contents

43.1. Introduction
43.2. Zend_XmlRpc_Client
43.2.1. Introduction
43.2.2. Method Calls
43.2.3. Types and Conversions
43.2.3.1. PHP Native Types as Parameters
43.2.3.2. Zend_XmlRpc_Value Objects as Parameters
43.2.4. Server Proxy Object
43.2.5. Error Handling
43.2.5.1. HTTP Errors
43.2.5.2. XML-RPC Faults
43.2.6. Server Introspection
43.2.7. From Request to Response
43.2.8. HTTP Client and Testing
43.3. Zend_XmlRpc_Server
43.3.1. Introduction
43.3.2. Basic Usage
43.3.3. Server Structure
43.3.4. Conventions
43.3.5. Utilizing Namespaces
43.3.6. Custom Request Objects
43.3.7. Custom Responses
43.3.8. Handling Exceptions via Faults
43.3.9. Caching Server Definitions Between Requests
43.3.10. Usage Examples
43.3.10.1. Basic Usage
43.3.10.2. Attaching a class
43.3.10.3. Attaching several classes using namespaces
43.3.10.4. Specifying exceptions to use as valid fault responses
43.3.10.5. Utilizing a custom request object
43.3.10.6. Utilizing a custom response object
43.3.10.7. Cache server definitions between requests

43.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."

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