Microsoft Windows Graphic

Managing UDDI Services from the Command-Line

You can invoke many UDDI Services administrative utilities from the command line. For example, you can import categorization schemes or other XML data, backup or restore a UDDI Services database, or reset the cryptography key used to generate UDDI authentication tickets. The following table lists the UDDI Services administrative utilities.

Command Function
bootstrap Imports XML data into a UDDI Services site.
resetkey Resets the cryptography key used to generate UDDI authentication tickets.
recalcstats Recalculates statistics for a UDDI Services site.
uddi.database.backup.cmd Creates a backup of a local UDDI Services database.
uddi.database.restore.cmd Restores a database backup to a local UDDI Services database.

bootstrap

Imports XML data into a UDDI Services site. Any information you import must first be validated against the appropriate XML schema definition (XSD). For more information about importing data and obtaining the appropriate XSDs for validation, see UDDI Resources.

Syntax

bootstrap /f [drive:][path]filename [/u [user]]

Parameters

/f [drive:][path]filename
Specifies the drive (optional), directory (optional), and file to import.
[/u [user]]
The user name (publisher) under which the data is imported and owned by. If none is specified, defaults to System.
/?
Displays help at the command prompt.

Remarks

Examples

To import an XML file named mydata.xml under the System user, type:

bootstrap /f mydata.xml

To import an XML file named mydata.xml under a user named John, type:

bootstrap /f mydata.xml /u John

To import an XML file located in C:\Data named mydata.xml under a user named John, type:

bootstrap /f C:\Data\mydata.xml /u John

Back to top

resetkey

Resets the cryptography key used to generate UDDI authentication tickets.

Syntax

resetkey [/now]

Parameters

[/now]
Forces an immediate reset of the cryptography key.
/?
Displays help at the command prompt.

Remarks

Examples

To view the current cryptography key timeout settings, type:

resetkey

To immediately reset the cryptography key, type:

resetkey /now

Back to top

recalcstats

Recalculates statistics for a UDDI Services site.

Syntax

recalcstats

Parameters

/?
Displays help at the command prompt.

Remarks

Back to top

uddi.database.backup.cmd

Creates a backup of a local UDDI Services database to a file (Uddi.Database.bak).

Syntax

uddi.database.backup.cmd [Database Instance Name]

Parameters

[Database Instance Name]
The name of the local MSDE2000 or Microsoft SQL Server database instance where the UDDI Services database component is installed. If none is specified, the default database instance is used.
/?
Displays help at the command prompt.

Remarks

Examples

To back up a UDDI Services database hosted in the default database instance, type:

uddi.database.backup.cmd

To back up a UDDI Services database hosted in a database instance named "UDDI", type:

uddi.database.backup.cmd UDDI

Back to top

uddi.database.restore.cmd

Restores a UDDI Services database backup created with the uddi.database.restore.cmd command.

Syntax

uddi.database.restore.cmd [Database Instance Name]

Parameters

[Database Instance Name]
The name of the local MSDE2000 or Microsoft SQL Server database instance where the UDDI Services database component is installed and to which you want to restore the backup. If none is specified, the default database instance is used.
/?
Displays help at the command prompt.

Remarks

Examples

To restore a UDDI Services database hosted in the default database instance, type:

uddi.database.backup.cmd

To restore a UDDI Services database hosted in a database instance named "UDDI", type:

uddi.database.restore.cmd UDDI

Back to top

Formatting legend

Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output

© 1997-2002 Microsoft Corporation. All rights reserved.