Cargando…

Programming Web services with Perl /

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

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ray, Randy J.
Otros Autores: Kulchenko, Pavel
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Farnham ; Sebastopol, Calif. : O'Reilly, 2002 printing, ©2003.
Edición:1st ed.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Table of Contents; Preface; Audience for This Book; Structure of This Book; Conventions Used in This Book; Comments and Questions; Acknowledgments; Randy; Pavel; Introduction to Web Services; History; The Web Services Dream; The Web Services Cold Shower; Who to Believe?; Web Services in the Real World; HTTP and XML Basics; HTTP; The Request/Response Cycle; HTTP Message Structure; Examining the request; Examining the response; Reading More About HTTP and LWP; XML; Self-Describing Data; Elements and namespaces; Attributes; Data; Comments, processing instructions, and specialized content.
  • Describing XML with DTD and XML SchemaThe DTD; XML Schema; XML Modules and Tools for Perl; XML::Parser; XML::LibXML and XML::LibXSLT; XML::SAX; XML::XPath, XML::Simple, and others; XML Schema; Why Replace the DTD?; Document structure versus data structure; Understanding more about XML Schema; Schema Components; The predefined simple types; Primary components; Attributes; Elements; Simple and complex types; A unified example schema; XML Schema in SOAP and Related Areas; Introduction to XML-RPC; History of XML-RPC; The XML in XML-RPC; Data encoding; Arrays and structures; Making a request.
  • Creating a responseSending an error response; Client and Server Communication; Method Signatures and Overloading; Example Client: Meerkat; The Meerkat Service; From Meerkat Query to HTML Sidebar; Limitations of XML-RPC; Status of the Specification; XML-RPC and Interoperability; Choosing XML-RPC over SOAP; Programming XML-RPC; Perl Toolkits for XML-RPC; RPC::XMLSimple; Client Example: meer2html.pl; The RPC::XMLSimple::Client Class in Detail; A Server Example: Providing "Fortunes"; The RPC::XMLSimple::Daemon Class in Detail; XMLRPC::Lite; Client Example: meer2html.pl.
  • The XMLRPC::Lite Class in DetailDebugging; Auto-Dispatch; The Fortune Server Using XMLRPC::Lite; The XMLRPC::Lite Server Classes; RPC::XML; Client Example: meer2html.pl; The RPC::XML::Client Class in Detail; The Fortune Server Using RPC::XML::Server; The RPC::XML::Server Class in Detail; Managing server-side code with XPL files; The Introspection Interface for Servers; Writing for Apache with Apache::RPC::Server; Configuring Server Objects; The Apache::RPC::Status Monitor; Introduction to SOAP; Background; XML Definitions; The Basic Message Structure; The Envelope Tag: Declaring Namespaces.
  • The Header Tag: Routing and MoreThe encodingStyle attribute; Actors, roles, nodes, and responsibility; The actor/role attributes; The mustUnderstand attribute; Attribute placement and example; The Body Tag: Anatomy of a Message; Expressing and Encoding Data; XML Schema and encoding; Simple types, values and enumerations; Compound types and values; Accessors, scoping, and reference; Arrays and partial arrays; Structures and generic compound types; The SOAP root attribute; Signaling a Problem: Faults; Fault elements; Predefined faults; RPC over SOAP; Supplying the RPC Information.