Developing .Net Web Services With Xml

Overview

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 ...
See more details below
Paperback
$49.13
BN.com price
(Save 10%)$54.95 List Price
Other sellers (Paperback)
  • All (12) from $1.99   
  • New (3) from $35.16   
  • Used (9) from $1.99   
Sending request ...

Overview

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.

Introducing readers to the foundation of the .NET platform, this book covers the implementation on XML within Microsoft's .NET framework and a thorough introduction to .NET and its XML building blocks.

Read More Show Less

Product Details

  • ISBN-13: 9781928994817
  • Publisher: Elsevier Science
  • Publication date: 3/1/2002
  • Pages: 600
  • Product dimensions: 0.97 (w) x 7.00 (h) x 10.00 (d)

Read an Excerpt

SQLXML Web Services

Once you install the SQL 2000 Web Services Toolkit (most importantly for this discussion, SQLXML 3.0) you will be able to communicate to SQL Server via HTTP by creating a SQL Virtual Root Directory from one of your selected databases. SQLXML 3.0 is configured to work with .NET and will do the work of generating your Web Service Description Language (WSDL) file in order to process the stored procedures or user defined functions as Web Services. A host of managed classes are available via .NET, but because they are beyond the scope of this topic, we will not discuss them here. However, the SQLXML Web Services Toolkit includes a white paper.

One of the key benefits of using SQL Web Services is the cost savings on time for development. If you have developed any type of case management software you know that the work you do in the back-end pays huge dividends on the front-end application. Every database requires some set of stored procedures to interact with it, for example adding new records to an employee’s table or editing those same records. After creating your set of stored procedures you then have to access them via ADO.NET in the application logic in order to pass the data. In this sample application we will get around this last bit of coding by enabling our set of stored procedures to be Web Services and to handle all of our database interaction.

Developing the TimeTrack Application

We will now develop a time tracking application that will use an employee sign in to track time spent on a given project or task. This is always a useful tool to have developed for your organization for reporting and using the data for cost analysis. Everyone in IT has had the problem of over- or under-projected timelines for a given job or task. By tracking current project times an organization can better formulate future job timeline projections.

This is a simple example of how to cut out ADO and enable stored procedures to do the work instead. Our application has a simple database with a set of stored procedures to handle the data interactions. This application will track employees and the projects they are working on. We have laid out the shell of the application and will let you fill in or expand upon the application framework to suit your own needs.

Creating the Database

The first thing we need to design is the database. Let’s take a look at the schema layout, which can be seen in Figure 7.1.

Figure 7.1 Database Schema Layout

As you can see by the schema, we will have a simple three-table database. To reiterate, this is just a shell—if you want to add tables to this sample feel free. This will track time spent on a project and by what employee. First we need to create the database in SQL Server. Right-click on Databases in EM and select New Database (see Figure 7.2). You can call it what you want; we used the name TimeTracker. Leave all of the create database defaults set and select OK. You may attach our database from the code section on the Solutions Web site (www.syngress.com/solutions), filename TimeTrack_data.mdf. To attach a database to your sever, right-click on Databases in EM and select Attach Database as seen in Figure 7.3. To create the tables simply navigate in Enterprise Manager (EM) and right-click on Tables and select New.

Figure 7.2 New Database Menu

Figure 7.3 Attach Database Menu

If you are using the database that has been provided for you on the Solutions Web site for this book (www.syngress.com/solutions), please be sure that you have selected the TimeTrack_data.mdf file. Make sure that you set the correct Database Owner (DBO) for the database; most likely it will be SA. Now that you have the database created you can add the tables. If you have created a new database instead of attaching the one provided on the Solutions Web site for this book, you must also add each of the tables. Right-click on the Table menu under database and select New Table. Add additional tables to the schema if needed.

Read More Show Less

Table of Contents


Chapter 1
What Are Web Services?
Chapter 2
Introduction to the Microsoft .NET Framework
Chapter 3
XML Fundamentals
Chapter 4
Information Exchange Using the Simple Object Access Protocol (SOAP)
Chapter 5
WSDL and UDDI
Chapter 6
Building an ASP.NET/ADO.NET Shopping Cart with Web Services
Chapter 7
Building a SQLXML Web Service Application
Chapter 8
Building a Jokes Web Service
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)