Real World XML Web Services: For VB and VB .NET Developers

Book description

"You are holding in your hands my favorite book on Web services and .NET. What else can I say? Buy this book now, and be prepared for a new way of coding!"
—Keith Ballinger, Program Manager for XML Web Services, Microsoft

"If you've been searching for a book that goes beyond the Web services hype, and distills the benefits of the actual platform, look no further, you've found the right one."
—Aaron Skonnard, Instructor and Author, DevelopMentor

Real World XML Web Services is the Visual Basic programmer's definitive guide to designing and building Web services. It provides developers with a comprehensive understanding of Web services, covering everything from basic concepts and solutions to interoperability problems. This book begins with a concise and practical introduction to Web services and the foundation on which they are built, including Web Services Description Language (WSDL) and Simple Object Access Protocol (SOAP). Readers learn, by example, how to use each tool for developing Web services, starting with the SOAP Toolkit and the .NET framework.

Visual Basic programmers discover how to:

  • Use XML Schema to define Web service messages

  • Use SOAP for messaging and Remote Procedure Calls (RPC)

  • Read and modify WSDL documents

  • Build Web services with the SOAP Toolkit

  • Create and invoke Web services using the .NET framework

  • Implement SOAP headers and use SOAP Fault

  • Develop interface-based Web services

  • Handle data in .NET Web services, including objects, arrays, and DataSets

  • Use SOAP extensions to build reusable infrastructure for security and compression

  • Use Universal Description Discovery and Integration (UDDI) at design time and run time

  • Understand the architecture of other popular toolkits, such as Apache SOAP for Java, and learn how to solve interoperability problems

  • The book closes by walking the reader through the creation of a Web service with .NET and Visual Basic 6 clients. Real World XML Web Services empowers Visual Basic programmers to design and build the next generation of applications using Web services.



    0201774259B08192002

    Table of contents

    1. Copyright
    2. Advance Praise for Real World XML Web Services
    3. The DevelopMentor Series
    4. Foreword by Keith Ballinger
    5. Foreword by Aaron Skonnard
    6. Preface
    7. Acknowledgments
    8. Introduction to Web Services
      1. Distributed Applications and the Browser
      2. Interoperability
      3. What Are Web Services?
      4. The New Platform
      5. Typical Web Service Architecture
      6. Remote Procedure Calls versus Messaging
      7. Creating Web Services
      8. When to Use Web Services
      9. When Not to Use Web Services
      10. Summary
    9. XSD: The Web Services Type System
      1. Why a Type System?
      2. What Is XSD?
      3. The XSD Type System
      4. Authoring XSD Schemas
      5. XSD and XML Namespaces
      6. Validating with XSD
      7. Type Substitution
      8. Nil Values
      9. Uniqueness and Keys
      10. Object Serialization
      11. Summary
      12. Resources
    10. SOAP: Invoking Web Services
      1. What Is SOAP?
      2. SOAP Architecture
      3. SOAP Message Formats
      4. Messaging with SOAP
      5. RPC with SOAP
      6. When Things Go Wrong
      7. Extending SOAP
      8. Handling Binary Data
      9. Summary
      10. Resources
    11. Describing Web Services
      1. Why Describe Web Services?
      2. WSDL Overview
      3. A WSDL Example
      4. WSDL SOAP Binding
      5. Using WSDL Documents
      6. Other WSDL Features
      7. Summary
      8. Resources
    12. The Microsoft SOAP Toolkit
      1. Toolkit API Architecture
      2. Exposing Web Services
      3. Using the High Level API
      4. Serialization in the High Level API
      5. Implementing Header Handlers
      6. Using the Low Level API
      7. The ISAPI Listener
      8. Summary
      9. Resources
    13. .NET Web Services
      1. Creating Web Services with VS .NET
      2. Invoking Web Services with Visual Studio .NET
      3. Leveraging the ASP.NET Framework
      4. Customizing the Service's WSDL
      5. Understanding Web Service Clients
      6. Summary
      7. Resources
    14. SOAP Header and Fault
      1. Defining SOAP Headers
      2. Using Headers on the Service
      3. Using Headers on the Client
      4. Mystery Headers
      5. You Must Understand This
      6. Communicating Errors
      7. Summary
      8. Resources
    15. Interface-Based Web Service Development
      1. Defining Interfaces
      2. Implementing an Interface
      3. Implementing Multiple Interfaces
      4. Interfaces in Different Namespaces
      5. Programming Against Interfaces
      6. Choosing Implementations at Runtime
      7. Summary
      8. Resources
    16. Handling Data in .NET Web Services
      1. Serialization and Web Services
      2. Starting with a Relational Database
      3. Round-Triping DataSets
      4. Starting with a Schema
      5. Handling XML Documents
      6. Handling Object Arrays
      7. Summary
      8. Resources
    17. Reusable Infrastructure with SOAP Extensions
      1. Web Service Request Processing
      2. Extending Web Service Request Processing
      3. Authorization SOAP Extension
      4. Usage Accounting
      5. An Example Client
      6. A Compression SOAP Extension
      7. Summary
      8. Resources
    18. UDDI: A Web Service
      1. What is UDDI?
      2. What UDDI Is Made Of
      3. UDDI Usage Scenarios
      4. Main Data Structures
      5. A Real-World Example
      6. How Categorization Works
      7. How Identifiers Work
      8. WSDL and UDDI
      9. Visual Studio .NET and UDDI
      10. Programming UDDI
      11. Querying UDDI
      12. Publishing Your Web Services with UDDI
      13. An Inquiry Example
      14. Using the UDDI SDK
      15. Private UDDI Implementations
      16. Summary
      17. Resources
    19. Other SOAP Toolkits
      1. Defining Interop
      2. Interop Problems
      3. Interop Efforts
      4. PocketSOAP Clients
      5. Java Clients
      6. The Web Service Behavior
      7. VB 6 Clients
      8. .NET Clients
      9. Summary
      10. Resources
    20. A Web Service Walkthrough
      1. Introduction and Requirements
      2. Designing Web Service Messages
      3. Implementing the Service
      4. Authentication and Authorization
      5. Usage Accounting
      6. Customizing the Documentation Page
      7. A VB 6 Client
      8. Leveraging UDDI
      9. Summary
      10. Resources
    21. Data Type Mappings
    22. .NET Web Services Tips and Tricks
      1. Use Document/Literal SOAP Messages for Data Exchange
      2. Design Messages Not Methods
      3. Use an HTTP Proxy Tool for Troubleshooting
      4. Use Output and Data Caching
      5. Don't Use HTTP Cookies
      6. Use SOAP Headers for Session Management
      7. Use RequestElement Routing
      8. Use One-Way Operations
      9. Don't Implement Properties on Web Services
      10. Use Distributed Transactions Only If You Need Them
      11. Don't Re-Invent the Wheel
    23. Index

    Product information

    • Title: Real World XML Web Services: For VB and VB .NET Developers
    • Author(s): Yasser Shohoud
    • Release date: September 2002
    • Publisher(s): Addison-Wesley Professional
    • ISBN: 9780201774252