Developing .Net Web Services With XML

Front Cover
Elsevier, Jul 24, 2002 - Computers - 600 pages

Prepare for the next generation of the internet with this in-depth, developer's guide to the .Net framework that utilizes XML to achieve greater flexibility of information and increased interoperability.

Developing .Net Web Services with XML introduces readers to the foundation for the .Net platform. The book covers the history, applications and implementation of the Extensible Markup Language within Microsoft's .NET framework. Readers will be given a thorough introduction to .NET and its XML building blocks while acquiring a firm grasp of how those blocks can be used to build any Web site or service so that it will federate and collaborate seamlessly with others

  • Equips developers with the tool necessary to take advantage of the next generation of the internet
  • This book will provide web developers with a firm understanding of XML, the building block of the .Net framework
  • Includes practical, real-life applications using XML
  • Unrivalled web based support: Readers can receive up-to-the minute links, white papers and analysis for two years at solutions@syngress.com
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

State Information in the URL URL Mangling
189
State Information in the Http Header Cookies
191
State Information in the Http Body SOAP Header
194
Security
202
Summary
204
Solutions Fast Track
205
Frequently Asked Questions
207
WSDL and UDDI
209

The SystemWebServicesProtocols Namespace
18
Type Marshalling
19
Using DataSets
21
Summary
24
An Overview of the SystemWebServices Namespace
25
Frequently Asked Questions
26
Introduction to the Microsoft NET Framework
29
Introduction
30
Obtaining the NET Framework SDK
31
Hardware
32
Operating System
33
Locations for Downloading
34
Common Language Runtime
36
Safety and Security Checks
37
Just In Time JIT Compilation
38
Structured Exception Handling
39
Metadata
40
Enhanced Deployment andVersioning Support
41
Interoperability with Unmanaged Code
42
Developing Applications with the NET Framework
43
Language Choice
45
Tools
46
Base Class Libraries
49
Components in the NET Framework
55
ADONET
56
VBNET
57
Windows Forms
60
Web Services
61
Summary
62
Solutions Fast Track
63
Common Language Runtime
64
Frequently Asked Questions
65
XML Fundamentals
67
Introduction
68
What Does an XML Document Look Like?
69
Creating an XML Document
70
Creating an XML Document
71
Components of an XML Document
72
WellFormed XML Documents
75
Schema and Valid XML Documents
76
Structure of an XML Document
80
Processing XML Documents Using NET
81
Reading and Writing XML Documents
82
Storing and Processing XML Documents
83
Reading and Parsing Using the XmlTextReader Class
84
Parsing an XML Document
85
Navigating through an XML Document to Retrieve Data
87
Writing an XML Document Using the XmlTextWriter Class
90
Exploring the XML Document Object Model
93
Navigating through an XmlDocument Object
94
Parsing an XML Document Using the XmlDocument Object
95
Using the XmlDataDocument Class
98
Loading an XmlDocument and Retrieving the Values of Certain Nodes
99
Using the Relational View of an XmlDataDocument Object
100
Viewing Multiple Tables of a XmlDataDocument Object
103
Querying XML Data Using XPathDocument and XPathNavigator
107
Using XPathDocument and XPathNavigator Objects
110
Using XPathDocument and XPathNavigator Objects for Document Navigation
112
Transforming an XML Document Using XSLT
115
Transforming an XML Document to an HTML Document
116
Transforming an XML Document into Another XML Document
119
Working with XML and Databases
124
Creating an XML Document from a Database Query
125
Reading an XML Document into a DataSet
127
Summary
129
Frequently Asked Questions
133
Information Exchange Using the Simple Object Access Protocol SOAP
135
Introduction
136
The Role of SOAP
137
Why SOAP?
138
Why Web Services?
139
Running Your Very First Web Service
146
Working with Web Services
159
Error Handling
162
Malformed SOAP Request
163
Wrong Argument Types
165
Writing a SOAP Client Application
167
Passing Objects
174
Passing Relational Data DataSets
179
Passing XML Documents
182
SOAP Headers
186
Advanced Web Services
187
Introduction
210
Web Service Standards
211
Discovering Web ServicesDISCO
217
Publishing Web ServicesUDDI
219
Working with UDDI
220
Summary
228
Solutions Fast Track
229
Frequently Asked Questions
231
Building an ASPNETADONET Shopping Cart with Web Services
233
Introduction
234
Setting Up the Table Books
237
Setting Up the Table Orders
238
SQL Server Database
242
Creating the Stored Procedures
244
Creating the Web Services
250
Creating the Data Connection
252
Creating a Web Service
253
Testing a Web Service in ASPNet
259
Using WSDL Web References
263
Building the Site
264
Site Administration
266
Creating the Administrator Page adminPageaspx
268
Binding a DataGrid to the DataSet
272
Updating the DataGrid and the Database
273
Creating the addBook Page addBookaspx
274
Customer Administration
275
Creating an ADOCatalog
278
Creating the BookCatalog Class
279
Creating the CreateSummaryTable Method
280
Creating the InitCatalog Method
281
Creating the catalogRangeByCategory Method
282
Building an XMLCart
284
Creating the User Interface
287
Creating the startaspx Page
288
Rendering the Catalog
289
Rendering the Cart
290
Summary
293
Frequently Asked Questions
297
Building a SQLXML Web Service Application
299
Introduction
300
SQLXML Web Services
301
Creating the Database
302
Creating the Stored Procedures
303
Creating a SQL Server Virtual Directory
305
Enabling Stored Procedures for Soap
310
Creating a Client Application in ASPNET
313
Consuming the Web Services
317
Summary
333
Solutions Fast Track
334
Frequently Asked Questions
335
Building a Jokes Web Service
337
Introduction
338
Functional Application Design
340
Defining the Database Schema
341
Defining the Web Service Architecture
342
Security Considerations
344
State Management
345
Installing the Database
346
Creating the Stored Procedures
348
Implementing the Jokes Middle Tier
361
Developing the Error Handler
366
Developing the Database Access Component
369
Developing the User Administration Service
371
Checking Existing User Information
376
Adding Moderators
379
Creating the Public Web MethodsUsers
381
Error Handling for the Public Web Methods
384
Creating The Public Web MethodsAdministrators
386
Testing the Public Web Methods
389
Developing the Jokes Service
390
Setting Up Internal Methods to Wrap the Stored Procedure Calls
393
Setting Up Internal Methods to Manage Jokes and Ratings
399
Setting Up Internal Methods to Return Jokes
407
Creating the Public Web Methods
413
Creating a Client Application
423
Some Ideas to Improve the Jokes Web Service
439
Summary
440
Solutions Fast Track
441
Frequently Asked Questions
443
Index
445
Copyright

Common terms and phrases

Popular passages

Page 4 - The added code is highlighted. using System; using System. Collections; using System. ComponentModel; using System. Data; using System. Drawing; using System. Web; using System. Web. SessionState; using System.
Page v - Kwon Sung June at Acorn Publishing for his support. Jackie Gross, Gayle Voycey, Alexia Penny, Anik Robitaille, Craig Siddall, Darlene Morrow, Iolanda Miller, Jane Mackay, and Marie Skelly at Jackie Gross & Associates for all their help and enthusiasm representing our product in Canada. Lois Fraser, Connie McMenemy, Shannon Russell, and the rest of the great folks at Jaguar Book Group for their help with distribution of Syngress books in Canada.
Page v - Jon Mayes, John Mesjak, Peg O'Donnell, Sandra Patterson, Betty Redmond, Roy Remer, Ron Shapiro, Patricia Kelly, Andrea Tetrick, Jennifer Pascal, Doug Reil, David Dahl,Janis Carpenter, and Susan Fryer of Publishers Group West for sharing their incredible marketing experience and expertise.
Page i - — c solutionsasyngress. com With more than 1,500,000 copies of our MCSE, MCSD, CompTIA, and Cisco study guides in print, we continue to look for ways we can better serve the information needs of our readers. One way we do that is by listening. Readers like yourself have been telling us they want an Internet-based service that would extend and enhance the value of our books. Based on reader feedback and our own strategic plan, we have created a Web site that we hope will exceed your expectations....

Bibliographic information