Sams Teach Yourself Web Services in 24 Hours

Book description

According to recent press reports, everyone is developing Web Services, but many are still in the exploratory phase - learning what's involved and how to achieve ROI. This book is designed to give a working introduction to Web Services to help decision-makers prepare for the implementation in their companies. It demystifies the topic by providing a beginning level explanation of what this technology is, what it means to businesses, where to apply it, and how to make it work.

Using numerous simple examples, the book explains the core concepts of Web Services: SOAP, UDDI, and WSDL, as well as tools and related concepts that will help create the "big picture" in readers' minds.

Table of contents

  1. Copyright
    1. Dedication
  2. About the Authors
  3. Acknowledgments
  4. We Want to Hear from You!
  5. Introduction
    1. Scope
    2. The Organization of This Book
      1. Part I: Introducing Web Services
      2. Part II: Working with Web Services
      3. Part III: Building Web Services
      4. Part IV: Advanced Topics
      5. Part V: Appendices
    3. Conventions Used in This Book
    4. Source Code and Updates
  6. I. Introducing Web Services
    1. 1. Understanding Web Services
      1. Understanding What Web Services Are
      2. The Great Promise of Web Services
      3. The Key Components
      4. Tools and Vendors
      5. Who Manages the Web Services Specifications
        1. The World Wide Web Consortium
        2. OASIS
        3. WS-I
        4. The Specification Process
      6. Summary
      7. Q&A
      8. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    2. 2. Advantages of Web Services
      1. Legacy Systems
      2. Lower Operational Costs
      3. Lower Software Development Cost
      4. Faster System Development
      5. Better Interfaces with Customers
      6. Better Integration with External Business Partners
      7. New Revenue Opportunities
      8. Completely New Business Models
      9. Summary
      10. Q&A
      11. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    3. 3. Disadvantages and Pitfalls of Web Services
      1. Pitfalls of Web Services
      2. Performance Issues
      3. Lack of Standards
      4. Newness of Web Service Technology
      5. Staffing Issues
      6. Summary
      7. Q&A
      8. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activity
    4. 4. Comparing Web Services to Other Technologies
      1. Stub/Skeleton Based Architectures
        1. CORBA
        2. Java RMI
        3. DCOM
      2. HTTP Transactional-based Architectures
        1. CGI
        2. Servlets/JSP
        3. ASP and PHP
      3. Screen Scrapers
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activity
    5. 5. Typical Web Services Designs
      1. Designing the Conglomerate Reporting System
        1. Reasons for Dissatisfaction
        2. Past Attempts at a Solution
        3. Basic Analysis
        4. Designing the Conglomerate Web Services Solution
        5. Defining the Server and the Clients
        6. Deciding on the Transmission Primitives
        7. Designing the Messages
        8. Designing the Project
      2. Redesigning the Shop Floor System
        1. Reasons for Dissatisfaction
        2. Basic Analysis
        3. Designing the Shop Floor Web Service
        4. Defining the Shop Floor Servers and the Clients
        5. Deciding on the Transmission Primitives
        6. Designing the Shop Floor Messages
        7. Writing the Web Services Code
      3. Designing an E-Commerce Site
        1. Defining the CheapestCamera Servers and the Clients
        2. Deciding on the CheapestCamera Transmission Primitives
        3. Designing the CheapestCamera Messages
        4. Programming the CheapestCamera Web Service
      4. Uniqueness of Web Services Designs
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
  7. II. Working with Web Services
    1. 6. The Web Services Architecture
      1. The Goal of the Web Services Architecture
      2. The SOA
      3. The Major Components of the Architecture
        1. SOAP
        2. Extensible Markup Language
        3. Hypertext Transport Protocol
        4. HTTP State Management Mechanism (Cookies)
        5. Web Services Description Language
        6. The Structures and Data Types of XML Schema
        7. Universal Description, Discovery, and Integration
      4. Understanding Interactions Between Components
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    2. 7. Understanding XML
      1. Understanding Why We Need XML
      2. The Components of XML
      3. The XML Grammar Rules
      4. Understanding Namespaces
      5. Understanding the XML Schema
      6. Summary
      7. Q&A
      8. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    3. 8. Understanding How Web Services Communicate
      1. TCP/IP and How the Internet Works
      2. HTTP
      3. Message Queues
      4. SMTP
      5. FTP
      6. Jabber
      7. Summary
      8. Q&A
      9. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activity
    4. 9. Exchanging Messages with SOAP
      1. What SOAP Is
      2. Why SOAP Is Different
      3. The SOAP Grammar
        1. The SOAP-ENV:Envelope Tag
        2. The SOAP-ENV:Body Tag
        3. The SOAP-ENV:Header Tag
        4. Reporting Errors to the Client
      4. SOAP Data Types
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    5. 10. Describing a Web Service with the Web Services Description Language (WSDL)
      1. The WSDL Document
        1. The Concrete and Abstract Description
        2. The types Element
        3. The message Element
        4. The operation Element
        5. The portType Element
        6. The binding Element
        7. The port Element
        8. The service Element
        9. The definitions Element
      2. Summary
      3. Q&A
      4. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    6. 11. Advertising a Web Service
      1. The Need to Advertise a Web Service
      2. The Purpose of a Registry
        1. Vending Registry Entries
        2. Purchasing-oriented Registry Entries
        3. Creating a Private Registry
        4. Creating a Semiprivate Registry
      3. Universal Description, Discovery, and Integration (UDDI)
        1. The UDDI Architecture
        2. Programming with UDDI
      4. Types of Discovery
        1. Design-time Discovery
        2. Runtime Discovery
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    7. 12. Sending Attachments with Web Services
      1. The Problem with Binary Data
      2. Using Base64 Encoding
      3. Multipurpose Internet Mail Extensions
      4. Direct Internet Message Encapsulation
      5. Understanding the New SOAP 1.2 Attachment Feature
      6. Summary
      7. Q&A
      8. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
  8. III. Building Web Services
    1. 13. Creating Web Services with Apache Axis
      1. Understanding Apache Axis
      2. The Axis Architecture
        1. Handlers
        2. Chains
        3. Transport
        4. The SOAP Engine
        5. Dispatcher
        6. Transport Listeners
        7. Transport Senders
      3. Creating Web Services with Axis
      4. Creating a Client for an Axis Web Service
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    2. 14. Creating Web Services with Java
      1. What’s Included in the Java Web Services Developer Pack
      2. Building a Simple Web Service
      3. Deploying and Registering the Service
      4. Creating a Client to Attach to the Service
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activity
    3. 15. Creating Web Services with .NET
      1. Understanding the .NET Architecture
        1. Visual Studio .NET
        2. Pros and Cons of Microsoft Tools
        3. The .NET Runtime
        4. Common Language Runtime
        5. The .NET Framework
        6. Namespaces and Naming Conventions
      2. Building a Simple Web Service
      3. Creating Your Own Web Service
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    4. 16. Creating .NET Web Service Clients
      1. Exchanging Complex Data
        1. Creating a Web Service to Connect with
        2. Creating the Web Services Client
      2. Discovering a Web Service
      3. Writing a Client for the Discovered Service
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    5. 17. Creating Web Services with BEA WebLogic Workshop
      1. The Architecture of the WebLogic Workshop Product
      2. Creating a Web Service with WebLogic Workshop
        1. Adding a Method to the Web Service
        2. Building the Web Service in WebLogic Workshop
      3. Creating Web Services Clients with WebLogic Workshop
      4. Creating a Conversation That Maintains State
        1. Working an Example
        2. Testing the Example
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    6. 18. Creating Web Services with IBM WebSphere
      1. IBM and Web Services
      2. WebSphere Studio Application Developer
      3. Developing a Web Service with WSAD
        1. Creating the Project
        2. Adding the Code
        3. Generating the Web Service
        4. Testing the Web Service
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    7. 19. Creating Web Services with Other Toolkits
      1. The Mind Electric GLUE
        1. Building a Service with GLUE
        2. Building a Client Application with GLUE
      2. PocketSOAP
        1. Building a Client Application with PocketSOAP
      3. SOAP::Lite
        1. Building a Service with SOAP::Lite
        2. Building a Client Application with SOAP::Lite
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    8. 20. Comparing the Different Web Services Tools
      1. The Importance of Choosing the Best Web Services Tool
      2. The Products Chosen for Evaluation
      3. Establishing the Evaluation Criteria
        1. Cost
        2. Legacy Experience
        3. Steepness of Learning Curve
        4. Development Speed
        5. Compatibility with Legacy Systems
        6. Vendor Track Record and Commitment
        7. Vendor Niche
        8. Quality of Documentation
        9. Other Benefits of the Products
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
  9. IV. Advanced Topics
    1. 21. Web Services Interoperability
      1. Making Web Services Interoperate
      2. The Limitations of Interoperability
        1. Ambiguous Standards
        2. Versions of Standards
        3. Distributed Support Model
        4. New Standards on the Horizon
      3. Meeting the Challenge
        1. Leading Without Bleeding
        2. Testing for Interoperability
        3. The Web Services Interoperability Organization
          1. Profiles
          2. Testing Tools
          3. Sample Applications
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    2. 22. Web Service Security
      1. Defining Web Services Security
        1. Targets and Target Hardening
        2. Attacks
      2. The Web’s Security Infrastructure
      3. The Secure Sockets Layer
        1. How SSL Works
        2. Using SSL to Send SOAP Messages
        3. Limitations of SSL
      4. The Proposed Security Specifications
        1. XML Signature
        2. XML Key Management Specification
        3. XML Encryption
        4. SAML
        5. WS-Security
      5. Summary
      6. Q&A
      7. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
    3. 23. Web Services in the Real World
      1. Case Studies of Real Web Service Solutions
        1. Google
        2. Amazon
        3. Microsoft’s MapPoint.NET
        4. Merrill Lynch
        5. The Home Depot
        6. Providence Health System
      2. Web Services Directories on the Web
        1. www.xmethods.com
        2. www.salcentral.com
        3. www.remotemethods.com
        4. uddi.microsoft.com
      3. Summary
      4. Q&A
      5. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activity
    4. 24. The Future of Web Services
      1. Nontraditional Uses
        1. Using UDDI As a Software Reuse Catalog
        2. Using WSDL as a Design Document
        3. Using SOAP as an EAI Language
      2. A New Version of UDDI
        1. UDDI Version 3
      3. Understanding W3C’s Web Services Architecture
        1. WS-Transaction
        2. Business Process Execution Language for Web Services
      4. Summary
      5. Q&A
      6. Workshop
        1. Quiz
        2. Quiz Answers
        3. Activities
  10. V. Appendixes
    1. A. Installing Apache Tomcat and Axis
      1. Tomcat
        1. Starting Tomcat
        2. Testing the Installation
      2. Axis
        1. Starting Axis
        2. Testing the Installation
    2. B. Installing the Java Web Services Developer Pack
    3. C. Installing and Configuring Other Toolkits
      1. The Mind Electric GLUE 3.0
      2. PocketSOAP Installation and Configuration
      3. SOAP::Lite Installation and Configuration
    4. Some Useful Web Services Acronyms

Product information

  • Title: Sams Teach Yourself Web Services in 24 Hours
  • Author(s): Stephen Potts, Mike Kopack
  • Release date: May 2003
  • Publisher(s): Sams
  • ISBN: None