
Programming Web Services with XML-RPC
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Foreword
- Preface
- Audience
- Organization
- Conventions Used in This Book
- Using Code Examples
- How to Contact Us
- Acknowledgments
- Simon St.Laurent's Acknowledgements
- Joe Johnston's Acknowledgments
- Edd Dumbill's Acknowledgments
- Introduction
- What XML-RPC Does
- Remote Procedure Calls (RPC)
- Letting Computers Talk: XML and the Web
- Reusing Web Protocols and Infrastructure
- Building a Different Kind of Web
- Where XML-RPC Excels
- A Quick Tour of the Minefields
- RPC Issues
- Protocol Reuse Issues
- HTTP isn't very efficient
- XML-RPC isn't your average web page
- Breaking through firewalls by reusing HTTP
- The XML-RPC Protocol
- Choreography
- Synchronous
- Stateless
- Data Types
- Simple Data Types
- Integers
- Floating-point numbers
- Boolean values
- Strings
- Date-times
- Binary
- Compound Data Types
- Arrays
- Structs
- Request Format
- XML Payload
- Parameters
- Method naming
- HTTP Headers
- POST
- Host
- Content-Type
- Content-Length
- User-Agent
- Using other headers
- A Complete Request
- Response Format
- Method Result
- Fault Reporting
- HTTP Headers
- HTTP response code
- Server
- Content-Type
- Content-Length
- A Complete Response
- The Nil Value
- A DTD for XML-RPC
- Client-Server Communication: XML-RPC in Java
- Why XML-RPC for Java?
- The XML-RPC Java Library
- Installing the helma.xmlrpc Library
- General XML-RPC Library Configuration
- Data Types and Java XML-RPC
- Building XML-RPC Clients
- Building XML-RPC Servers
- Using the WebServer Class
- Using XmlRpcServer Without WebServer
- Creating XML-RPC Handlers
- Creating Handlers Using Automatic Registration
- Creating Handlers Using Explicit Registration
- Three Practical Examples
- Library Functions
- Reporting
- A get and set Approach
- Moving Toward Cross-Platform Peer-to-Peer
- XML-RPC and Perl
- Perl's Implementation of XML-RPC
- Data Types
- Translating Perl Values to XML-RPC Elements
- Packaging Scalar Values
- Preparing Date-Time Data
- Preparing Encoded Binary Data
- Using Helper Methods to Create Objects
- Preparing Array and Hash Data
- Translating XML-RPC Elements to Perl Values
- Extracting Values from Objects
- Determining the Type of Object
- XML-RPC Clients
- Client Architecture
- Invoking a Remote Procedure
- Creating the client object
- Calling the XML-RPC method
- Getting the response to the call
- Handling error responses
- A Client Script
- XML-RPC Servers
- Server Architecture
- Setting Up an XML-RPC Server
- A Server Script
- Integrating XML-RPC into a Web Server
- Integrating Web Applications: XML-RPC in PHP
- Getting the XML-RPC Library for PHP
- Understanding the Client Classes
- Mapping Data Between PHP and XML-RPC
- Getting PHP Data into XML-RPC Tags
- Turning XML-RPC Data Back into PHP
- Shortcuts to Encoding and Decoding XML-RPC Values
- Invoking Methods
- Preparing a Client Object
- Preparing a Method Invocation and Its Parameters
- Invoking the Method
- Checking the Result
- Handling XML-RPC Error Conditions
- Building XML-RPC Servers in PHP
- Methods
- Service Descriptions
- Servicing a Request
- Introspection
- Connecting Web Applications
- Creating a Discussion Server
- Meerkat: O'Reilly's Technology Database
- Joining Meerkat and the Discussion Server
- A Closer Look at the Meerkat Discussion Server
- What PHP and XML-RPC Can Do
- XML-RPC and Python
- Python Implementations of XML-RPC
- Installing PythonWare XML-RPC
- Data Types
- Python Data and XML Elements
- Data types that require no extra work
- Data types that must be wrapped in an object
- XML-RPC Clients
- Client Architecture
- A Client Script
- XML-RPC Servers
- Setting Up an XML-RPC Server
- Creating a copy of the script
- Setting a port number
- Recoding the call( ) method to define the API
- Creating dispatch functions to implement the API
- Running the server script
- A Server Script
- Integrating XML-RPC into a Web Server
- Using Zope as an XML-RPC Server
- Bridging XML-RPC and COM: XML-RPC in ASP
- Using XML-RPC with ASP
- Making Active Server Pages More Active
- From Person-to-Computer to Computer-to-Computer
- Treating ASP as a Window into Your System
- Data Types and the API
- Building an Address Book Web Service with ASP
- Getting the Contents of the Address Book
- Looking up Entries in the Address Book
- Adding and Removing Address Book Entries
- Talking to MS Access from Linux
- An XML-RPC Client in ASP
- Creating a Window to Linux
- Connections and Caveats
- No Transaction Support
- Expect Speed Hits
- Debugging is Terrible
- Keep the API Current
- Where to Find the VBScript XML-RPC Library
- Where to Find the COM XML-RPC Library
- XML-RPC and the Web Services Landscape
- The Web Services Vision
- Public XML-RPC Services
- Design Considerations for Any XML-RPC Application
- Debugging
- Network Latency
- Documentation
- Logging
- Authentication and Authorization
- Payloads: Big and Secret
- Statelessness
- Beyond XML-RPC
- SOAP: Simple Object Access Protocol
- UDDI: Universal Description, Discovery, and Integration of Business for the Web
- WSDL: Web Services Description Language
- W3C XML Protocol Activity
- BXXP: Blocks eXtensible eXchange Protocol
- Protocol Design Choices
- XML-RPC and Web Services
- The XML You Need for XML-RPC
- What is XML?
- Anatomy of an XML Document
- Elements and Attributes
- Name Syntax
- Well-Formed
- Comments
- Entity References
- Character References
- Character Encodings
- Unicode Encoding Schemes
- Other Character Encodings
- Validity
- Document Type Definitions (DTDs)
- Element type declarations
- Attribute list declarations
- Putting It Together
- Tools for Processing XML
- Selecting a Parser
- XSLT Processors
- Is That All There Is?
- The HTTP You Need for XML-RPC
- A Bit About TCP/IP
- HTTP at the Start of the Web
- Adding Two-Way Communications
- A Richer Set of Headers
- POST: the Key to XML-RPC
- Making Two-Way Communications Efficient
- Making the Infrastructure Do Something Different
- Infrastructure Details
- MIME Types
- HTTPS, VPNs, and Other Security Measures
- Things XML-RPC Leaves Out
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.