Creating and Consuming Web Services in Visual Basic (paperback)

by ; ;
Edition: 1st
Format: Paperback
Pub. Date: 2002-05-22
Publisher(s): Addison-Wesley Professional
List Price: $39.99

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Author Biography

Scott Seely is an Architect for MySpace, currently focusing on OpenSocial and the MySpace Developer Platform. He has worked extensively with Windows Communication Foundation, first as a developer at Microsoft on the WCF project from 2002 to 2006 and later, as a user and educator. He has written three other books, two of these on Web Services/SOAP. When not sitting behind a keyboard, Scott can be found in northern Illinois spending time with his wonderful wife, three kids, two dogs, two frogs, and whatever other animals happen to be in the house.

 

Eric A. Smith works as an independent consultant, author, and trainer in the Indianapolis area. He is also the owner of Northstar Computer Systems (www.northcomp.com), a value-added reseller and Web hosting company. His company was one of the first to offer commercial .NET hosting services to its clients.

Eric has written or contributed to 12 books covering Microsoft technologies, including ASP.NET at Work: 10 Enterprise Projects (Wiley).

Deon Schaffer has been developing with Visual Basic and other Microsoft technologies for more than seven years. Over the past few years, Deon's focus has been on designing and developing Windows DNA applications. He is a Microsoft Certified Solutions Developer (MCSD) and has a degree in information systems engineering. Deon is a senior consultant at Information Strategies in Washington, DC.



0672321564AB11202003

Table of Contents

(NOTE: Each chapter concludes with Summary.)

Introduction.

Applications of Web Services.

What You Will Need.

Who Is This Book For?

I. THE BASICS.

1. Creating Your First Web Service.

The “Hello World” Operation.

Other Files in the Project.

Passing Complex Types.

Returning Arrays of Simple Types.

Returning Arrays of Structures.

2. Consuming Your Web Service.

Attaching a Web Reference.

Command-Line Interface Applications.

Graphical User Interface (GUI) Applications.

Web Applications.

Web Services Calling Other Web Services.

3. SOAP, WSDL, and UDDI Explained

SOAP.

SOAPAction.

Envelope.

Header.

Body.

Fault.

WSDL.

Document Parts.

Supported Message Patterns.

SOAP Extensibility Elements.

UDDI.

tModels.

Registering with UDDI.

Query Patterns.

4. Shaping the WSDL, XML, and SOAP Message.

Shaping the WSDL File.

definitions.

types.

message, portType, and binding.

service.

Using SOAP Headers.

Changing the Location of WSDL Elements.

Creating a Custom SOAP Extension.

Custom SOAP Extension Basics.

An Example SOAP Extension.

Creating a Server Based on a WSDL File.

Using Visual Studio to Register Your SOAP Endpoint in UDDI.

5. Troubleshooting Web Services/Consumers.

Viewing SOAP Message Exchanges.

Debugging a Web Service at the Server.

Debugging a Web Service Remotely.

Debugging Web Services Under Load.

Items to Include in Your Test Plan.

A Simple Example.

II. GOING DEEPER.

6. Security Issues with Web Services.

Equipment Deployment.

Authenticating Users.

Application Level Authorization.

HTTP Basic and Digest Authentication.

X509 Client Certificates.

Guarding Data.

Tracking User Activity.

7. Looking at the “Abilities”.

Availability.

Clustered Servers.

Multiple Deployment Locations.

Reporting.

Administrator Communication.

Scalability.

Stateless Web Service and Using a Web Farm.

Scalable Components.

Manageability.

Performance Monitor.

Deployment Packages.

Reporting.

Performance.

I/O Bound.

Computation Intensive.

Memory Hog.

Long-Lived Web Method Calls.

8. Asynchronous Web Services.

Synchronous Versus Asynchronous Calls.

Design Pattern for Asynchronous Method Calls.

Calling a Web Service Asynchronously.

Using the Callback Function.

Using the WaitHandle Methods.

Handling Web Pages That Make Asynchronous Calls to WebMethods.

Server to Server Asynchronous Communications.

Server Web Service.

Client Web Service.

Console Application.

WinForm Application.

9. Stateful Services.

Benefits of Maintaining State: Performance and Scalability.

Improving Performance.

Enhancing Scalability.

Facilitating Web Farms.

Maintaining State with the Session Object.

ASP.NET Session State.

In-Process Session State.

Out-of-Process Session State.

Maintaining State with the Application Object.

Maintaining State with the Cache Object.

Custom State Management.

Managing State as a Web Service.

10. Microsoft SOAP SDK.

Using the SOAP Toolkit on the Server.

Generating the WSDL and WSML files.

Common Edits to the WSDL and WSML Files.

Deploying Your SOAP Web Service.

Using the SOAP Toolkit on the Client.

Using the High-Level Interface.

Using the Low-Level Interface.

11. Converting Legacy Applications to Web Services.

Adding Web Service Support to COM+ Applications.

Reusing an Existing COM Object Within a Web Service.

Migrating from Visual Basic 6 to Visual Basic .NET.

III. SOLVING REAL-WORLD PROBLEMS.

12. Business to Business XML Web Services.

Choosing the Right Technology.

Read-Only Access to Data.

Write-Only Access to Data.

Read/Write Access to Data.

Designing the Web Service.

Building the JLD Database.

Creating the Database Class.

Creating the SecurityToken Class.

Building the Web Service.

Building Elise's Emporium.

Creating the Database.

Building the Product List Page.

Determining Product Availability.

13. Business to Customer XML Web Services.

Designing the Database.

Designing the Application.

Referencing the External Web Service.

Creating the List Window.

Adding the List Window Code.

Designing the Stock Editing Window.

14. Platform Integration.

Assembling the Tools.

Building the Web Services.

Adding the Database Class.

Creating the Products Service.

Creating the Customers Service.

Creating the Orders Service.

Building the Mobile Application.

Creating the Main Menu.

Creating the Customer Viewer.

Creating the Order Viewer.

Creating the Product Catalog.

15. Portals.

Designing the Database.

Configuring the Application.

Adding the Business Objects.

Creating the Web User Controls.

Building the Web Pages.

Creating the Login Page.

Creating the Profile Editor.

Writing the Portal Page.

Building the Log Out Page.

16. Profiting From Your Web Services.

Creating Services that Fill a Need.

Decreasing Business Costs.

Revenue Models.

Flat-Fee Access.

Volume-Based Access Fee.

Creative Use of the Advertising Model.

A Middleman Model.

Marketing the Web Service.

APPENDIXES.

Appendix A. Additional Resources.

XML General.

General .NET Information.

General Web Service Information.

SOAP/XML Protocol.

Remoting.

UDDI.

WSDL.

Transactions.

Tools.

Security.

ebXML.

Sample Web Service.

Appendix B. Installing Visual InterDev.

Installing the Client Components.

Installing the Microsoft Visual InterDev Client.

Installing the Image Composer.

Installing the Music Producer.

Appendix C. Visual InterDev Architecture Components Overview.

Development Architecture.

Testing Architecture.

Deployment Architecture.

Index. 0672321564T06072002

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.