O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and Consuming Web Services in Visual Basic®

Book Description

Get on the fast track of what is becoming a required skill for software developers--the ability to create Web Services and clients that consume them. Web Services leverage standards such as XML, XSD, SOAP, and WSDL to enable interoperability across programming languages and platforms. They work well to integrate applications on an intranet and on the Internet. Visual Basic .NET, coupled with the .NET Framework, is an attractive environment for Web Services architecture because it provides for rapid development and easy maintenance.

This book explains each of the standard protocols needed for Web Service interaction on the client or server. These protocols include SOAP, Web Services Description Language (WSDL), and Universal Description Discovery and Integration (UDDI).

Creating and Consuming Web Services in Visual Basic® also includes

  • Information on how to shape SOAP messages and the data they contain

  • Explanations of how to create applications that consume Web Services

  • Detailed case studies that explore how to use Web Services to help solve real-world B2B and B2C problems

  • Thorough coverage of development concerns such as security and availability

  • Instructions for how to create and consume Web services in earlier versions of VB and convert legacy applications to a Web Services platform

  • 0672321564B06072002

    Table of Contents

    1. Copyright
    2. Foreword
    3. About the Authors
    4. About the Technical Editors
    5. Acknowledgments
    6. Introduction
    7. The Basics
      1. Create Your First Web Service
        1. The “Hello World” Operation
        2. Other Files in the Project
        3. Passing Complex Types
        4. Returning Arrays of Simple Types
        5. Returning Arrays of Structures
        6. Summary
      2. Consuming Your First Web Service
        1. Attaching a Web Reference
        2. Command-Line Interface Applications
        3. Graphical User Interface (GUI) Applications
        4. Web Applications
        5. Web Services Calling Other Web Services
        6. Summary
      3. SOAP, WSDL, and UDDI Explained
        1. SOAP
        2. WSDL
        3. UDDI
        4. Summary
      4. Shaping the WSDL, XML, and SOAP Message
        1. Shaping the WSDL File
        2. Creating a Custom SOAP Extension
        3. Creating a Server Based on a WSDL File
        4. Using Visual Studio to Register Your SOAP Endpoint in UDDI
        5. Summary
      5. Troubleshooting Web Services/Consumers
        1. Viewing SOAP Message Exchanges
        2. Debugging a Web Service at the Server
        3. Debugging a Web Service Remotely
        4. Debugging Web Services Under Load
        5. Items to Include in Your Test Plan
        6. A Simple Example
        7. Summary
    8. Going Deeper
      1. Security Issues with Web Services
        1. Equipment Deployment
        2. Authenticating Users
        3. Guarding Data
        4. Tracking User Activity
        5. Summary
      2. Looking at the “Abilities”
        1. Availability
        2. Scalability
        3. Manageability
        4. Performance
        5. Summary
      3. Asynchronous Web Services
        1. Synchronous Versus Asynchronous Calls
        2. Design Pattern for Asynchronous Method Calls
        3. Calling a Web Service Asynchronously
        4. Server to Server Asynchronous Communications
        5. Summary
      4. Stateful Services
        1. Benefits of Maintaining State: Performance and Scalability
        2. Maintaining State with the Session Object
        3. Maintaining State with the Application Object
        4. Maintaining State with the Cache Object
        5. Custom State Management
        6. Summary
      5. Microsoft SOAP SDK
        1. Using the SOAP Toolkit on the Server
        2. Using the SOAP Toolkit on the Client
        3. Summary
      6. Converting Legacy Applications to Web Services
        1. Adding Web Service Support to COM+ Applications
        2. Reusing an Existing COM Object Within a Web Service
        3. Migrating from Visual Basic 6 to Visual Basic .NET
        4. Summary
    9. Solving Real-World Problems
      1. Business to Business XML Web Services
        1. Choosing the Right Technology
        2. Designing the Web Service
        3. Building Elise's Emporium
        4. Summary
      2. Business to Customer XML Web Services
        1. Designing the Database
        2. Designing the Application
        3. Referencing the External Web Service
        4. Creating the List Window
        5. Adding the List Window Code
        6. Designing the Stock Editing Window
        7. Summary
      3. Platform Integration
        1. Assembling the Tools
        2. Building the Web Services
        3. Building the Mobile Application
        4. Summary
      4. Portals
        1. Designing the Database
        2. Configuring the Application
        3. Adding the Business Objects
        4. Creating the Web User Controls
        5. Building the Web Pages
        6. Summary
      5. Profiting From Your Web Services
        1. Creating Services that Fill a Need
        2. Decreasing Business Costs
        3. Revenue Models
        4. Marketing the Web Service
        5. Summary
    10. Additional Resources
      1. XML General
      2. General .NET Information
      3. General Web Service Information
      4. SOAP/XML Protocol
      5. Remoting
      6. UDDI
      7. WSDL
      8. Transactions
      9. Tools
      10. Security
      11. ebXML
      12. Sample Web Service
    11. Index