Publisher: O'Reilly Media Released: June 2001 Pages: 240
Have you ever needed to share processing between two or more computers running programs written in different languages on different operating systems? Or have you ever wanted to publish information on the Web so that programs other than browsers could work with it? XML-RPC, a system for remote procedure calls built on XML and the ubiquitous HTTP protocol, is the solution you've been looking for. Programming Web Services with XML-RPC introduces the simple but powerful capabilities of XML-RPC, which lets you connect programs running on different computers with a minimum of fuss, by wrapping procedure calls in XML and establishing simple pathways for calling functions. With XML-RPC, Java programs can talk to Perl scripts, which can talk to Python programs, ASP applications, and so on. You can provide access to procedure calls without having to worry about the system on the other end, so it's easy to create services that are available on the Web. XML-RPC isn't the only solution for web services; the Simple Object Access Protocol (SOAP) is another much-hyped protocol for implementing web services. While XML-RPC provides fewer capabilities than SOAP, it also has far fewer interoperability problems and its capabilities and limitations are much better understood. XML-RPC is also stable, with over 30 implementations on a wide variety of platforms, so you can start doing real work with it immediately. Programming Web Services with XML-RPC covers the details of five XML-RPC implementations, so you can get started developing distributed applications in Java, Perl, Python, ASP, or PHP. The chapters on these implementations contain code examples that you can use as the basis for your own work. This book also provides in-depth coverage of the XML-RPC specification, which is helpful for low-level debugging of XML-RPC clients and servers. And if you want to build your own XML-RPC implementation for another environment, the detailed explanations in this book will serve as a foundation for that work. |
-
Chapter 1 Introduction -
What XML-RPC Does -
Where XML-RPC Excels -
A Quick Tour of the Minefields -
Chapter 2 The XML-RPC Protocol -
Choreography -
Data Types -
Request Format -
Response Format -
The Nil Value -
A DTD for XML-RPC -
Chapter 3 Client-Server Communication: XML-RPC in Java -
Why XML-RPC for Java? -
The XML-RPC Java Library -
Building XML-RPC Clients -
Building XML-RPC Servers -
Creating XML-RPC Handlers -
Three Practical Examples -
Moving Toward Cross-Platform Peer-to-Peer -
Chapter 4 XML-RPC and Perl -
Perl’s Implementation of XML-RPC -
Data Types -
XML-RPC Clients -
XML-RPC Servers -
Integrating XML-RPC into a Web Server -
Chapter 5 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 -
Invoking Methods -
Building XML-RPC Servers in PHP -
Connecting Web Applications -
What PHP and XML-RPC Can Do -
Chapter 6 XML-RPC and Python -
Python Implementations of XML-RPC -
Installing PythonWare XML-RPC -
Data Types -
XML-RPC Clients -
XML-RPC Servers -
Integrating XML-RPC into a Web Server -
Using Zope as an XML-RPC Server -
Chapter 7 Bridging XML-RPC and COM: XML-RPC in ASP -
Using XML-RPC with ASP -
Making Active Server Pages More Active -
Data Types and the API -
Building an Address Book Web Service with ASP -
Talking to MS Access from Linux -
An XML-RPC Client in ASP -
Creating a Window to Linux -
Connections and Caveats -
Chapter 8 XML-RPC and the Web Services Landscape -
The Web Services Vision -
Public XML-RPC Services -
Design Considerations for Any XML-RPC Application -
Beyond XML-RPC -
Protocol Design Choices -
XML-RPC and Web Services -
Appendix The XML You Need for XML-RPC -
What is XML? -
Anatomy of an XML Document -
Character Encodings -
Validity -
Tools for Processing XML -
Is That All There Is? -
Appendix The HTTP You Need for XML-RPC -
A Bit About TCP/IP -
HTTP at the Start of the Web -
Adding Two-Way Communications -
Making Two-Way Communications Efficient -
Making the Infrastructure Do Something Different -
Infrastructure Details -
Colophon |
-
Simon St. Laurent Simon St. Laurent is a web developer, network administrator, computer book author, and XML troublemaker living in Ithaca, NY. His books include XML: A Primer, XML Elements of Style, Building XML Applications, Cookies, and Sharing Bandwidth. He is a contributing editor to XMLhack.com and an occasional contributor to XML.com. View Simon St. Laurent's full profile page. -
Joe Johnston Joe Johnston is a graduate of the University of Massachusetts in Boston with a B.A. in computer science, he is a teacher, web designer, and author of articles for Perl Journal, Perl.com, and IBM's DeveloperWorks. Joe helps maintain the ASP XML-RPC library and wrote the Perl module Frontier::Responder.pm. View Joe Johnston's full profile page. -
Edd Dumbill Edd is Managing Editor of XML.com. He also writes free software, and packages Bluetooth-related software for the Debian GNU/Linux distribution. Edd is the creator of XMLhack and WriteTheWeb, and has a weblog called Behind the Times. View Edd Dumbill's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Programming Web Services with XML-RPC is a jellyfish. A member of the phylum Cnidaria, jellyfish are found in all oceans and many freshwater lakes and rivers. The name "jellyfish" refers to the animal's adult stage of development, when it acquires a bell- or umbrella-shaped body and long tentacles. The animal's body (including tentacles) is about 95 percent water and ranges in size from less than an inch to over 100 feet. Jellyfish feed by paralyzing their victims with nematocysts—stinging, harpoon-like cells located in their tentacles. The sting, though lethal to its prey, protects the jellyfish; its body is so fragile that it cannot endure a struggle and must render its prey motionless before feeding. This sting has given the jellyfish a bad reputation among swimmers, some of whom are seriously injured by brushing against the animal's tentacles. Most jellyfish are harmless to humans, though, and are noted more for their fragile beauty than for their sting. Ann Schirmer was the production editor and proofreader forProgramming Web Services with XML-RPC. Paulette Miley was the copyeditor. Claire Cloutier, Sarah Jane Shangraw, and Jeffrey Holcomb provided quality control. Brenda Miller wrote the index. Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. David Futato designed the interior layout based on a series design by Nancy Priest. Anne-Marie Vaduva converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Ann Schirmer. |
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
Recommended for You
|
Recently Viewed
|
 |
|
By Richard Monson-Haefel
September 2001
By Robin Nixon
July 2009
Ebook: $31.99
Print & Ebook: $43.99
Print: $39.99
|
Customer Reviews
1/24/2002 4.0Programming Web Services with XML-RPC Review 8/30/2001 (0 of 1 customers found this review helpful) 4.0Programming Web Services with XML-RPC Review
|
|
|