Network Deployment (Distributed operating systems), v8.0 > Reference > Command-line utilities


UDDI Utility Tools

The UDDI Utility Tools is a suite of functions that you can use to migrate, move, or copy UDDI v2 entities, including child entities and their respective v2 entity keys, into a Version 3 UDDI registry.

To use the UDDI Utility Tools suite, run the UDDIUtilityTools.jar file. This file is in...

WAS_HOME/UDDIReg/scripts
Alternatively, you can invoke all the functions of UDDI Utility Tools through the supplied public Java API.

The UDDI Utility Tools suite that is supplied in this release has the same functions as the version that is supplied in WAS v6.1. However, all UDDI Utility Tools functions in this release use the UDDI v2 API. Note that v2 API does not support publisher-assigned keys.

We can use the UDDI Utility Tools to export from v2 and 3 registries (supplying only the Version 2 representation of the UDDI entity key) and import into the Version 3 registry, using v2 API types. Entities from a Version 3 registry are exported as v2 entities, so elements such as digital signatures are not present. See the topic about saving UDDI Version 3 entities with a supplied key for an example of how to use the v3 API to assign your own keys to v3 entities.

The UDDI v3 Publish API supports publisher-assigned keys, and to promote entities between v3 registries, you use normal API functions.

The UDDI Utility Tools suite also has the following uses:

The UDDI Utility Tools suite has five main functions:

Export

The export function gets a list of UDDI entities from a specified registry and writes them to the UDDI entity definition file, using the specified entity types and keys. The entity type for each key can be business, service, bindingTemplate, or tModel. The entity definition file contains XML that exactly describes each of the specified entities, according to the UDDI Utility Tools schema, which includes the UDDI Version 2 schema. The UDDI entity definition file separates entities by type, and automatically detects and records tModel entities that the specified entities reference. We can use the "referenced tModels" section of the file to ensure that a target registry includes any referenced tModel entities before you import new entities to that registry.

Import

The import function detects whether a list of UDDI entities already exist in the target registry and, if they do not, create a minimal entity, or stub, with the specified key. The UDDI entities can be supplied through a UDDI entity definition file, or programmatically in a container object. The entities are then published, updating the stubs with the supplied data, and overwriting or ignoring existing entities, as specified. Note that the original key is maintained throughout.

Promote

The promote function combines the export and import steps such that the specified entities are extracted (by key) from the source registry and then imported into the target registry in a single logical step. Optionally, you can generate a UDDI entity definition file.

Delete

The delete function deletes the specified entities from the target UDDI registry. The entities to delete are specified as an entity type, or a list of entity types, and keys, in the same way as for the export function.

Find matching entities

The find matching entities function finds a set of entities that match the search criteria and generates a list of entity keys. The search criteria are UDDI Inquiry API objects for each of the various entity types. We can use the resulting list of entity keys as input to the export, promote, and delete functions.

This function is available through only the programmatic API.

The following diagram shows relationship between the functions, their input and output, and the source and target UDDI registries:


Related


UDDI Utility Tools prerequisites
UDDI Utility Tools configuration file
UDDI entity definition file
UDDI Utility Tools at a command prompt
UDDI Utility Tools through the API
Save UDDI v3 entities with a supplied key
UDDI Utility Tools limitations and resolutions
Use the UDDI registry
Migrate the UDDI registry


Related


Manage the UDDI registry

+

Search Tips   |   Advanced Search