MS SQL Server
  Home arrow MS SQL Server arrow XML and the SQL 2000 Server, Part 2
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

XML and the SQL 2000 Server, Part 2
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 8
    2005-03-14

    Table of Contents:
  • XML and the SQL 2000 Server, Part 2
  • Mapping Virtual Objects
  • Using Select Queries in URL
  • Considerations When Sending Queries to a URL
  • What are template queries?
  • Stored procedures with templates
  • Display the HTML file

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    XML and the SQL 2000 Server, Part 2


    (Page 1 of 7 )

    In this second article in a series, the basics involved in XML to SQL 2000 Server over HTTP are explained.

    In Part 1, the basic elements needed for two-way data exchange between a SQL 2000 Server and XML were discussed. Also given was a step-by-step guide to creating a SQL 2000 Server specific virtual root, which acts as a secure hub for sending HTTP requests to the server. This enhancement effectively substitutes custom methods of querying SQL databases by a simplified, secure method.

    The results of such querying can be transformed into presentable data rendered by XSLT style sheets. Virtual directories in the SQL 2000 Server specific virtual root function as safe havens for the documents to be stored. In this tutorial I attempt to elucidate the basics involved in XML to SQL 2000 Server Over HTTP.

    Virtual Directory Details for this Tutorial

    The SQL 2000 Server is running on Windows XP Professional OS with Internet Information Services 5.1 and IE 6.0. As described in Part 1, a SQL 2000 server specific virtual directory is set up with files stored in the local file system as shown. If the virtual directory is configured, the MMC with the virtual directory can be opened by going to All Programs->Microsfot SQL Server-> Configue XML Support for IIS and minimizing the window. When you make changes to the files, it may be advisable to refresh the default website and clicking on "Refresh" from the drop down menu.

    The default website (for this virtual directory) has the following settings:

    • Virtual Directory Name: PubsVirtual [folder C:\XMLSQL2k]
    • SQL Server: (local)-XPHTEK
    • Database Name: pubs
    • Security: Windows Integrated Authentication
    • Access: URL, Template, XPATH

    In this tutorial the focus will be on URL Queries and Template files.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


     

    MS SQL SERVER ARTICLES

    - Windows Server 2008 as a Workstation OS
    - An Overview of Windows Server 2008 R2
    - LINQ to MySQL, Oracle and PostgreSQL Provide...
    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 9 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek