|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

Creating and Consuming Web Services in Visual Basic
Scott Seely
Eric A. Smith
Deon Schaffer

ISBN-10: 0672321564
ISBN-13:  9780672321566

Publisher:  Addison-Wesley Professional
Copyright:  2002
Format:  Paper; 408 pp
Published:  05/22/2002
Status: Out of Print


We're sorry, this product is no longer available.
Please contact your Pearson rep if you are using this product and need instructor resources.

Get on the fast track of what will become a virtually required skill for software developers - the ability to create Web Services and the applications that consume Web Services.

(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

View a Sample Chapter PDF:/samplechapter/0672321564.pdf

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

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

Give your students a choice! PearsonChoices products are designed to give your students more value and flexibility by letting them choose from a variety of text and media formats to best match their learning style and their budget.

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, see the Packages Tab.

Log in to the Instructor Resource Center

Login name: 

  Password: 

Forgot login/password?  |  Need to redeem an access code?

         

Instructor Resource Center File Download

This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Cancel                       I accept, proceed with download

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.