The University of Illinois Open Archives Initiative Metadata Harvesting Project

ASP OAI 2.0 Data Provider
Database -- ver. 1.5
Descriptive Metadata and Administrative Information
Stored in Database

Disclaimer: The following is 'quick and dirty' documentation to hopefully get you started. It assumes a fair amount of familiarity with configuring the Microsoft IIS web server and other minutia such as editing text files, etc. Hopefully, we will eventually have time for some better documentation. Thanks.


This is an example of a metadata provider service as described in release 2.0 of the Open Archives Initiative Protocol for Metadata Harvesting.  It uses

This application can be downloaded onto an appropriately configured Microsoft Windows NT/2000 system and used with minimal configuration changes.

Note: Related implementations for other system architectures (Database only, File System only, File System/Database hybrid, etc) and/or for other platforms are also available on the SourceForge UILIB-OAI project web .




Operating System / Platform
Microsoft Windows NT 4 Server SP 6
Microsoft Windows NT 4 Workstation SP 6
Microsoft 2000 Advanced Server
Microsoft 2000 Professional, SP 2
Microsoft Internet Information Server (IIS), version 4 or higher
Microsoft Active Server Pages (ASP)
ASP modules included use VBScript and JScript
Microsoft XML Parser (MSXML) 4.0
This parser is available free from the Microsoft Website at
Microsoft ActiveX Data Objects (ADODB) and ODBC-compliant Data Source
For illustration we include a Microsoft Access Database with Stored Procedures. However, with minor changes, a Microsoft SQL Server database or other ODBC-compliant data source could be used as well.

OAI PROTOCOL CONFORMANCE & XML Schema Definition Documents for Validation:

As installed locally, this system has been validated using version 1.45a of the OAI Repository Explorer (available at   The OAI Repository Explorer tests for conformance to OAI Protocol release 2.0. When you have you have completed installing this tool and believe everything is set up properly, go to this site and enter the URL for your data to validate your system.


The global.asa file retrieves parameters from RepositoryDescription.xml to configure the repository.

The configuration file for the OAI Data Provider. It is XML-formatted and self-illustrative. Please refer to the file for repository settings.

This HTML file.

The Open Source license for this code.
This contains various functions that are needed by other script files. This file is included in the scripts that need access to the functions. provides functions and subroutines such as parsing OAI identifiers, generating UTC datestamps, creating and parsing resumption tokens, etc. These are mostly functions that should be reusable across many different OAI implementations and are not specific to this implementation.

The main Active Server Page script code. All OAI requests are dispatched by oai.asp. Most of this code is written in VBScript, a small amount of JScript is also used.

*.asp (other than oai.asp and metadata-*.asp)
Each of these ASP files corresponds to a single OAI request and is called by oai.asp.

User-provided handlers for supported metadata formats. In this release, we provide two examples: metadata-oai_dc.asp and metadata-marc.asp to demonstrate how this data provider works with the existing database by using the handlers.

An Access database containing necessary OAI administrative information, descriptive metadata, and related information as discussed above. Refer to the database itself for the data schema.

An empty example of the database.

All code provided in this illustrative implementation is being made available under OpenSource license.


Thomas G. Habing
Research Programmer, Digital Library Initiative
University of Illinois at Urbana-Champaign
052 Grainger Engineering Library, MC-274
Timothy W. Cole
Mathematics Librarian
University of Illinois at Urbana-Champaign
214 Altgeld Hall, MC-382
Ying-ping Chen
Graduate Assistant
University of Illinois at Urbana-Champaign
052 Grainger Engineering Library, MC-274
Joanne Kaczmarek
Project Coordinator
University of Illinois at Urbana-Champaign
052 Grainger Engineering Library, MC-274
  University of Illinois at Urbana-Champaign University of Illinois at Urbana-Champaign
Library Gateway Homepage
Comments to: Tom Habing
Updated on: 5/10/04 Ychen21