SPECIAL OFFERS
Keep up with new releases and promotions. Sign up to hear from us.
Register your product to gain access to bonus material or receive a coupon.
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
(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 ExplainedSOAP.
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