Synopses & Reviews
Given Perl's natural fit for web applications development, it's no surprise that Perl is also a natural choice for web services development. It's the most popular web programming language, with strong implementations of both SOAP and XML-RPC, the leading ways to distribute applications using web services. But books on web services focus on writing these applications in Java or Visual Basic, leaving Perl programmers with few resources to get them started. Programming Web Services with Perl changes that, bringing Perl users all the information they need to create web services using their favorite language.Programming Web Services with Perl steers clear of the hype surrounding web services and concentrates on what is useful and practical. The book introduces the major web services standards, such as XML-RPC, SOAP, WSDL, and UDDI, and shows how to implement Perl servers and clients using these standards. You'll find detailed references on both the XML and SOAP toolkits, and learn when to use one technology in favor of the other. The book is rich with programming examples that you'll find useful well past the learning stage. And, moving beyond the basics, the book offers solutions to problems of security, authentication, and scalability.Some of the topics covered in the book are:
Programming Web Services with Perl
- HTTP and XML basics
- XML-RPC and the toolkits
- SOAP and toolkits
- Using SOAP with SMTP and other protocols
- Advertising and discovering with UDDI and WSDL
- The REST methodology
- The future of web services
was written for Perl programmers who have no prior knowledge of web services. You can pick up this book without any understanding of XML-RPC or SOAP and be able to apply these technologies easily, through the use of publicly available Perl modules detailed in the book.If you're interested in applying XML-RPC and SOAP technologies to distributed programming applications, then Programming Web Services with Perl
is a book you'll want to have.
Includes bibliographical references (p. 434-437) and index.
This guide cuts through they hype on Web services and concentrates on the practical and useful. It shows how to use Perl to create Web services and how to implement Perl using XML, SOAP, WSDL and UDDI standards.
About the Author
has over 10 years of experience in design and development of complex financial and banking applications, and information management in the financial services sector. Pavel is the author and maintainer of the popular SOAP::Lite module for SOAP clients and servers in Perl, the XMLRPC::Lite module that implements XML-RPC protocol, and the UDDI::Lite module, a client interface for UDDI repositories.
Table of Contents
Copyright; Preface; Audience for This Book; Structure of This Book; Conventions Used in This Book; Comments and Questions; Acknowledgments; Chapter 1: Introduction to Web Services; 1.1 History; 1.2 The Web Services Dream; 1.3 The Web Services Cold Shower; 1.4 Who to Believe?; 1.5 Web Services in the Real World; Chapter 2: HTTP and XML Basics; 2.1 HTTP; 2.2 XML; 2.3 XML Schema; Chapter 3: Introduction to XML-RPC; 3.1 History of XML-RPC; 3.2 Example Client: Meerkat; 3.3 Limitations of XML-RPC; Chapter 4: Programming XML-RPC; 4.1 Perl Toolkits for XML-RPC; 4.2 RPC::XMLSimple; 4.3 XMLRPC::Lite; 4.4 RPC::XML; Chapter 5: Introduction to SOAP; 5.1 Background; 5.2 XML Definitions; 5.3 RPC over SOAP; 5.4 SOAP Transport; 5.5 Further Reading; Chapter 6: Programming SOAP; 6.1 A Toolkit Approach; 6.2 DevelopMentor's SOAP Module; 6.3 The SOAP::Lite Module; 6.4 Other SOAP-Related Modules; Chapter 7: Serving SOAP over HTTP; 7.1 Basic SOAP::Lite Servers; 7.2 The Application; 7.3 Designing the Server; 7.4 Tying the Interface Code to SOAP; 7.5 Improving the Code and the Service; 7.6 Ideas for Further Exploration; Chapter 8: SOAP Services Without HTTP; 8.1 Choosing a Protocol; 8.2 Authentication; 8.3 Transports with Server and Client; 8.4 Standalone Protocols; 8.5 Creating New Transport Modules; Chapter 9: Service Description with WSDL; 9.1 Basic WSDL; 9.2 WSDL Programming; Chapter 10: Service Advertising and Discovery with UDDI; 10.1 Defining UDDI; 10.2 Programming with UDDI::Lite; Chapter 11: REST: Representational State Transfer; 11.1 Defining REST; 11.2 REST Principles; 11.3 Programming REST; Chapter 12: Advanced Web Services Topics; 12.1 Message Routing; 12.2 Packaging; 12.3 Security; 12.4 Services Discovery; 12.5 Reliable Messaging; 12.6 Business Process Management; 12.7 Implementation Considerations; 12.8 WS-Next; Appendix A: XML-RPC Toolkit Programming Reference; A.1 RPC::XMLSimple; A.2 XMLRPC::Lite; A.3 RPC::XML; Appendix B: SOAP::Lite Programming Reference; B.1 SOAP::Lite; B.2 SOAP Transport Classes; B.3 The Apache Wrapper; B.4 UDDI::Lite; Appendix C: XML-RPC Example Code; C.1 Basic Meerkat Client (Chapter 3); C.2 XML-RPC Toolkit Samples (Chapter 4); Appendix D: SOAP Example Code; D.1 HTTP SOAP Code (Chapter 7); D.2 SOAP with Other Protocols (Chapter 8); Appendix E: WSDL and UDDI Examples; E.1 The wishlist.wsdl File; E.2 The useperlorg.wsdl File; E.3 The show_biz UDDI Application; Appendix F: Bibliography and References; F.1 Bibliography; F.2 Additional Recommended Books; F.3 Web Pages; Colophon;