Chapter 55. Zend_XmlRpc

Table of Contents

55.1. Introduction
55.2. Zend_XmlRpc_Client
55.2.1. Introduction
55.2.2. Method Calls
55.2.3. Types and Conversions
55.2.3.1. PHP Native Types as Parameters
55.2.3.2. Zend_XmlRpc_Value Objects as Parameters
55.2.4. Server Proxy Object
55.2.5. Error Handling
55.2.5.1. HTTP Errors
55.2.5.2. XML-RPC Faults
55.2.6. Server Introspection
55.2.7. From Request to Response
55.2.8. HTTP Client and Testing
55.3. Zend_XmlRpc_Server
55.3.1. Introduction
55.3.2. Basic Usage
55.3.3. Server Structure
55.3.4. Conventions
55.3.5. Utilizing Namespaces
55.3.6. Custom Request Objects
55.3.7. Custom Responses
55.3.8. Handling Exceptions via Faults
55.3.9. Caching Server Definitions Between Requests
55.3.10. Usage Examples
55.3.10.1. Basic Usage
55.3.10.2. Attaching a class
55.3.10.3. Attaching several classes using namespaces
55.3.10.4. Specifying exceptions to use as valid fault responses
55.3.10.5. Utilizing a custom request object
55.3.10.6. Utilizing a custom response object
55.3.10.7. Cache server definitions between requests

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