Before you begin
There are some samples available on the WebSphere Developer Domain (WSDD) web site (at http://www7b.software.ibm.com/wsdd/library/samples/AppServer.html) that are intended to provide an optional Installation Verification test, or IVP, for the UDDI Registry component.
This topic describes how to run these installation verification programs (IVPs) to verify that the IBM UDDI Registry has been installed correctly.
There are two IVP SOAP samples: SOAPSampleIVPa and SOAPSampleIVPb. They are intended to verify the successful installation of the product, and should be used in conjunction with the UDDI Users Console (GUI). SOAPSampleIVPa saves some data to the registry which you can then find using the GUI. Finally you can delete the data by running SOAPSampleIVPb.
The IVP samples are installed into the same target directory as the other SOAP samples and they use the same XML files as the basic Java SOAP samples.
SOAPSampleIVPa saves three businesses, six services (2 per business) and three tModels. The data structures are very basic and consist only of a name. The keys returned by the save_* UDDI API calls are then written to a file, SOAPSampleIVPa.out. SOAPSampleIVPb then reads in these keys from the file to delete the saved data from the UDDI registry.
Note: Each time you run SOAPSampleIVPa, it overwrites the output file SOAPSampleIVPa.out so, if you wish to use SOAPSampleIVPb to delete the data, you must run this before you next run SOAPSampleIVPa.
Note: As supplied, the IVP programs are written to work on a system without authentication. It is possible to configure the IVPs to work with authentication (see http://www7b.software.ibm.com/wsdd/library/samples/AppServer.html), however, if possible it is recommended you run them on a non-authenticated system.
Steps for this task
Perform the following steps on the same system as the UDDI Registry:
For Windows, the default system path can be set via Control Panel ...-> Settings ...-> System ...-> Advanced Properties ...-> Environment Variables
Alternatively, this can be accomplished just for the shell where you plan to run the samples by modifying the path within the shell:
'javac SOAPSampleIVPa.java'and
'javac SOAPSampleIVPb'
You should get a results page returned with three businesses (mybusiness1, mybusiness2, and mybusiness3). This demonstrates that the API and the UDDI user console are working correctly.
You should get an empty results page returned.