WAS v8.5 > Reference > Command-line utilitiesUDDI Utility Tools through the API
UDDI Utility Tools provides a public API to functions to export, import, promote, find, and delete UDDI entities. To invoke these functions, use the PromoterAPI class.
Typically, we use these functions through the PromoterAPI class for the following uses:
- Create a Configuration object and populate it from a Properties object or from a configuration properties file.
- Create a PromoterAPI object, passing the Configuration object in the constructor.
- For keys based functions (export, delete, and promote), set the keys by supplying a UDDIEntityKeys object, the location of the keys file, or, for one entity, by specifying an entity type and a key value.
- Invoke the corresponding method for the function required: exportEntities, promoteEntities(boolean), importEntities, deleteEntities, or extractKeysFromInquiry(FindTModel, FindBusiness, FindService, FindBinding, FindRelatedBusinesses).
The samples for WebSphere Application Server include sample code for UDDI Utility Tools that demonstrates use of the API classes.
Deprecated feature: The low-level UDDI Utility Tools API classes and methods, such as BusinessStub and ServiceStub, are deprecated in WAS v6.0. These APIs are replaced with the high-level PromoterAPI interface in the com.ibm.uddi.promoter package. Refer to the API documentation for details.
Related
Use the UDDI registry
Reference:
UDDI Utility Tools prerequisites
UDDI Utility Tools configuration file
UDDI entity definition file
UDDI Utility Tools at a command prompt
Save UDDI v3 entities with a supplied key
UDDI Utility Tools limitations and resolutions
Additional Application Programming Interfaces (APIs)
Related information:
Samples for WAS