did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781590591314

Google, Amazon, and Beyond : Creating and Consuming Web Services

by
  • ISBN13:

    9781590591314

  • ISBN10:

    1590591313

  • Format: Paperback
  • Copyright: 2003-11-01
  • Publisher: Springer-Verlag New York Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $46.08 Save up to $27.52
  • Buy New
    $43.89
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

While many books are focused on the underlying technologies of Web Services and others are dedicated to providing Web Services, few books show how to consume Web Services. This new book, "Consuming Web Services: The APIs from Google, Amazon, and Beyond," provides a thorough review of the technologies and techniques for connecting client applications to services of all kinds. Using a decidedly hands-on approach, the authors show extensive examples of programming with XML, SOAP, WSDL, and UDDI in a variety of programming languages.

Table of Contents

About the Authors xiii
About the Technical Reviewer xv
Acknowledgments xvii
Introduction xix
Chapter 1 Defining Web Services 1(24)
The Evolving Web Services Vision
3(3)
Area of Application: Service-to-Service Interactions
4(1)
Area of Application: Client-to-Service Interactions
5(1)
Google MindShare
6(7)
Outline and Application-Specific Code
8(3)
Web Services Technologies, Tasks, and Functions
11(2)
The Javascript Code and the Google API
13(5)
Code Part 2 and xmlhttp API
15(1)
Code that Uses the xmlhttp API to Connect to Google
15(2)
Summary of xmlhttp
17(1)
Google API with Examples of Use
18(6)
Google API Examples in Javascript with xmlhttp
19(5)
Conclusion
24(1)
Chapter 2 The Plumbing: DOM and SOAP 25(42)
Using XML DOM
26(7)
DOM Basics
27(2)
DOM Code for Data Access
29(1)
DOM Code for Data Transformation
30(2)
From XML Text to DOM Tree and Back
32(1)
The Anatomy of a SOAP Message
33(3)
Overview of SOAP 1.2
36(5)
SOAP Message Exchange Model
37(1)
The XML Structure of a SOAP Message
38(3)
XML Encoding and RPC Conventions
41(7)
An Example: Google Search Response
42(4)
SOAP Encoding and the Data Model
46(2)
Representation of RPC in SOAP1.2-2
48(1)
XML Schema and Its Role in SOAP
48(16)
XML Schema Part 2
49(8)
XML Schema Part 1: Structures
57(7)
Conclusion
64(3)
Chapter 3 More Services: Java Applet 67(32)
Service-Independent Javascript
68(16)
How's the Weather?
68(3)
Amazon Keyword Search
71(5)
SOAP Response in an HTML Table
76(5)
Amazon Web Services API
81(3)
A Java Version of a SOAP Client
84(13)
XML over HTTP in Java
86(3)
Applet with Privileged Access
89(4)
Applet Generalized
93(1)
Multi-Service Applet
94(3)
Conclusion
97(2)
Chapter 4 DBService and a Book Club 99(32)
The Book Club Application
100(1)
Main Components, in Order of Appearance
101(4)
Service Startup
103(2)
Sockets and Ports
105(6)
Java IO and Streams
107(1)
Bytes and Characters
108(1)
Socket Communications
108(3)
Processing HTTP Request
111(2)
Parse SOAP, Return Query Result
113(4)
XML Parsing in Java
114(1)
SOAP Parameters
115(1)
Output the Result of SOAP Call
116(1)
Driver, Database, Connection, and Statement
117(8)
JDBC Driver
117(1)
Connections and Connection Pooling
118(2)
SQL Statements and Result Sets
120(1)
Prepared Statements and Our Method to Query Data
121(2)
XML Encoding of Java Code
123(2)
Database Access in DBService
125(5)
Conclusion
130(1)
Chapter 5 Authentication and REST 131(30)
BookClubReviewer in Action
132(4)
HTTP User Authentication
136(16)
HTTP Transactions Revisited
137(2)
Base64 Encoding and More Secure Alternacivcs
139(2)
CheckingAuthorization
141(4)
Using the Authorization System
145(7)
The REST Version
152(8)
HTTP Commands and REST
152(2)
REST Version Code
154(6)
Conclusion
160(1)
Chapter 6 Restructuring Results with XSLT 161(30)
Introduction to XSL T and XPath
162(15)
What's a Tree?
164(1)
DOM Trees and XPath Trees
165(1)
The Node Types of the XPath Tree
166(1)
The XPath Language
166(3)
The First Stylesheet
169(3)
Computing with Templates: Pull and Push
172(2)
Variations and Default Templates
174(3)
XSLT for Amazon Data
177(6)
Tables Using Push
179(2)
Creating Tables Using Pull and Sorting
181(1)
Sorting, String Functions and Data Types
182(1)
Combining Data Sources in XSL T
183(6)
The Top-Level Template
184(2)
Pulling in XML Data
186(1)
Producing the Output
187(2)
Conclusion
189(2)
Chapter 7 Tomcat, JSP, and WebDAV 191(32)
Tomcat and JSP
193(2)
JSP Basics
195(4)
testJSPjsp
195(2)
The JSP and its Java Code
197(2)
SOAPxslt. jsp
199(10)
The HTML Client Page
201(2)
The JSP Page
203(2)
The Stylesheet
205(4)
WebDAV in General and in Tomcat
209(5)
WebDAV Overview
209(1)
WebDAV in Tomcat
210(4)
TidyFilter. java
214(8)
Filter Chains in General and in Tomcat
214(3)
The Beginning of TidyFilter.java
217(1)
The Central Method of TidyFilter
218(2)
Tidying Up HTML
220(1)
Tidy Configuration File
221(1)
Conclusion
222(1)
Chapter 8 WebDAV Client to Database via XML 223(36)
XsltFilter: Motivations and an Example
223(7)
From Headers to Structure
225(4)
Filter Configuration
229(1)
New XPath and XSLT
230(10)
Axes
231(2)
The Full Form of XPath Expressions
233(2)
XSL Keys as Elements and Functions
235(1)
Parameters and Variables
236(2)
The Mode Attribute
238(2)
The Code of hierdivixsl
240(8)
The Key Definitions
241(1)
The Top-Level Template
242(1)
The Section-Handling Template
243(4)
The Text-Collection Template
247(1)
DBFilter. java
248(10)
Changes to web.xml and Filter Methods
251(1)
Changes to the Transformation Method
252(1)
Topics and the Structure of the Database
253(3)
Putting the Topics in the Database
256(2)
Conclusion
258(1)
Chapter 9 WSDL and Axis 259(46)
A Brief History of WSDL and Axis
260(1)
Frameworks in General, Axis in Particular
261(1)
The Factorial Service
261(11)
Factorial.java
262(1)
Factorial.jws
262(1)
Obtaining aWSDL Description of the Factorial Service
262(2)
Automatic Client Construction for Factorial.jws
264(2)
Invoking the Client
266(1)
Exceptions From Server to Client
267(1)
The Axis TCP Monitor
268(4)
An Overview of WSDL
272(6)
Document/Literal WSDL
278(12)
XML Schema for StockQuote
279(1)
Messages, PortType, Service
280(1)
HTTP Binding for StockQuote
281(1)
Generated Client Packages
282(1)
Generated Service Stubs
283(1)
The Stock Quote Client
284(1)
Web Services Deployment Descriptor (WSDD)
285(3)
The TCP Monitor on StockQuote
288(2)
Creating WSDL for DBAuthService
290(13)
WSDL for Database Updates
290(5)
The Code of the Database Update Client
295(2)
WSDL for the Database Query Client
297(6)
Conclusion
303(2)
Appendix A Installation 305(4)
Appendix B Troubleshooting 309(2)
Appendix C Online Resources 311(3)
Standards
311(1)
W3C Technical Reports
311(1)
OASIS Technical Committees
312(1)
Other Consortia
312(1)
Sources of Information
312(2)
XML Resources
313(1)
JavaXML Processing and Web Services
313(1)
Web Services
314(1)
Keep Looking 314(1)
Index 315

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program