This section describes how to prepare your own client distribution. A client created this way allows you to access the BEA AquaLogic Service Registry API through a SOAP interface.
Note | |
---|---|
CLIENT_HOME refers to the directory in which the BEA AquaLogic Service Registry Client distribution will be created. REGISTRY_HOME refers to the directory in which BEA AquaLogic Service Registry is installed |
To create a client application distribution follow these steps:
Make sure BEA AquaLogic Service Registry is successfully installed.
In the CLIENT_HOME directory, create a subdirectory named lib.
Copy the following files from REGISTRY_HOME/lib to CLIENT_HOME/lib
activation.jar builtin-serialization.jar core_services_client.jar jaas.jar jaxm.jar jaxrpc.jar jetty.jar runner.jar saaj.jar security-ng.jar security2-ng.jar security_providers_client.jar wasp.jar wsdl_api.jar xercesImpl.jar xml-apis.jar xmlParserApis.jar
In the CLIENT_HOME directory, create a subdirectory named dist.
Copy the following files from REGISTRY/dist to CLIENT_HOME/dist:
account_client.jar admin_utils_client.jar approval_client_v3.jar approval_content_checker_client_v3.jar approval_management_client.jar approval_production_client_v3.jar category_client_v3.jar configurator_client.jar configurator_cluster_client.jar group_client.jar permission_client.jar replication_client_v3.jar statistics_client.jar taxonomy_client_v3.jar taxonomy_client_v31.jar transformer_kr_client.jar uddiclient_api_ext.jar uddiclient_api_v1.jar uddiclient_api_v2.jar uddiclient_api_v3.jar uddiclient_api_v3_ext.jar uddiclient_core.jar uddiclient_custody_v3.jar uddiclient_subscription_listener_v3.jar uddiclient_subscription_v3.jar uddiclient_validate_values_v1.jar uddiclient_validate_values_v2.jar uddiclient_value_set_caching_v3.jar uddiclient_value_set_validation_v3.jar wsdl2uddi_client_v2.jar wsdl2uddi_client_v3.jar xml2uddi_client_v3.jar xsd2uddi_client_v3.jar xslt2uddi_client_v3.jar
In the CLIENT_HOME directory, create a subdirectory named conf. Copy the following files from REGISTRY_HOME/conf to CLIENT_HOME/conf:
clientconf.xml log4j.config
Note | |
---|---|
If you want to use the https connection in BEA AquaLogic Service Registry, you must import the certificate file into clientconf.xml using the PStoreTool. This file contains the certificate of the BEA AquaLogic Service Registry installation by default. |
Tip | |
---|---|
You do not have to copy client files to directories that have specific names (lib, dist, and conf). All client files can be copied to the flat directory CLIENT_HOME, for example. If you do this, however, replace CONF_DIRECTORY, DIST_DIRECTORY, and LIB_DIRECTORY with CLIENT_HOME in this section's instructions. |
For each client package, the associated .jar files must be added to the classpath. These .jar files are listed in the appropriate sections below.
To enable the BEA AquaLogic Service Registry Runtime client package, add these .jar files to the classpath.
activation.jar builtin-serialization.jar; core_services_client.jar; jaas.jar; jaxm.jar; jaxrpc.jar runner.jar saaj.jar; security-ng.jar; security2-ng.jar; security_providers_client.jar; wasp.jar; wsdl_api.jar xercesImpl.jar; xml-apis.jar; xmlParserApis.jar;
To enable the UDDI API (v1) client package, add these .jar files to the classpath. For more information on this client package, please see UDDI Version 1
uddiclient_api_v1.jar uddiclient_core.jar
To enable the UDDI API (v2) client package, add these .jar files to the classpath. For more information on this client package, please see UDDI Version 2.
uddiclient_api_v2.jar uddiclient_core.jar
To enable the UDDI API (v3) client package, add these .jar files to the classpath. For more information on this client packages, please see UDDI Version 3.
uddiclient_api_v3.jar uddiclient_core.jar
To enable the UDDI API (v3, ext X) client package, add these .jar files to the classpath.
uddiclient_api_v3_ext.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the Account client package, add these .jar files to the classpath. For more information on this client package, please see Account.
account_client.jar uddiclient_core.jar
To enable the Admin Utilities client package, add these .jar files to the classpath. For more information on this client package, please see Administration Utilities.
admin_utils_client.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the Approval (v3) client package, add these .jar files to the classpath. For more information on this client package, please seeApproval.
approval_client_v3.jar uddiclient_api_v3.jar uddiclient_api_v2.jar uddiclient_core.jar
To enable the v3 Approval Content Checker client package, add these .jar files to the classpath.
approval_content_checker_client_v3.jar uddiclient_core.jar
To enable the Approval Management client package, add these .jar files to the classpath.
approval_management_client.jar uddiclient_core.jar
To enable the Category (v3) client package, add these .jar files to the classpath. For more information on this client package, please see Category
category_client_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the Group client package, add these .jar files to the classpath. For more information on this client package, please see Group.
group_client.jar account_client.jar uddiclient_core.jar
To enable the Permission client package, add these .jar files to the classpath. For more information on this client package, please see Permission.
permission_client.jar account_client.jar uddiclient_core.jar
To enable the Replication (v3) client package, add these .jar files to the classpath. For more information on this client package, please see Replication.
replication_client_v3.jar uddiclient_core.jar
To enable the Statistics client package, add these .jar files to the classpath. For more information on this client package, please see Statistics.
statistics_client.jar uddiclient_core.jar
To enable the v3 Taxonomy client package, add these .jar files to the classpath. For more information on this client package, please see Taxonomy.
taxonomy_client_v3.jar taxonomy_client_v31.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the v3 UDDI Custody client package, add these .jar files to the classpath. For more information on this client package, please see Custody.
uddiclient_custody_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the v3 UDDI Subscription client package, add these .jar files to the classpath. For more information on this client package, please see Subscription.
uddiclient_subscription_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the v3 UDDI Subscription Listener client package, add these .jar files to the classpath. For more information on this client package, please see Subscription.
uddiclient_subscription_listener_v3.jar uddiclient_subscription_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the UDDI Validate Values (v1) client package, add these .jar files to the classpath. For more information on this client package, please see Validation.
uddiclient_validate_values_v1.jar uddiclient_api_v1.jar uddiclient_core.jar
To enable the UDDI Validate Values (v2) client package, add these .jar files to the classpath. For more information on this client package, please see Validation.
uddiclient_validate_values_v2.jar uddiclient_api_v2.jar uddiclient_core.jar
To enable the UDDI Value Set Caching (v3) client package, add these .jar files to the classpath.
uddiclient_value_set_caching_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the UDDI Value Set Validation (v3) client package, add these .jar files to the classpath. For more information on this client package, please see Validation.
uddiclient_value_set_validation_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the WSDL2UDDI (v2) client package, add these .jar files to the classpath. For more information on this client package, please see WSDL Publishing
wsdl2uddi_client_v2.jar uddiclient_api_v2.jar uddiclient_core.jar
To enable the WSDL2UDDI (v3) client package, add these .jar files to the classpath. For more information on this client package, please see WSDL Publishing
wsdl2uddi_client_v3.jar uddiclient_api_v3.jar uddiclient_core.jar
To enable the client package, add these .jar files to the classpath.
uddiclient_api_v3.jar uddiclient_core.jar xml2uddi_client_v3.jar xsd2uddi_client_v3.jar xslt2uddi_client_v3.jar
To run your BEA AquaLogic Service Registry client code you must add a config directory, wasp.jar, and client's jars to the classpath.
Note | |
---|---|
CLIENT_HOME=. CONF_DIRECTORY=CLIENT_HOME\conf DIST_DIRECTORY=CLIENT_HOME\dist LIB_DIRECTORY=CLIENT_HOME\lib |
If you want to use only UDDI Version 3:
CONF_DIRECTORY;LIB_DIRECTORY\wasp.jar;DIST_DIRECTORY\uddiclient_api_v3.jar
If you want to use only UDDI Version 3 and UDDI Subscription Version 3:
CONF_DIRECTORY;LIB_DIRECTORY\wasp.jar;DIST_DIRECTORY\uddiclient_api_v3.jar%; DIST_DIRECTORY\uddiclient_subscription_v3.jar
If you want to use only UDDI Version 3, UDDI Subscription Version 3, and Taxonomy:
CONF_DIRECTORY;LIB_DIRECTORY\wasp.jar;DIST_DIRECTORY\uddiclient_api_v3.jar%; DIST_DIRECTORY\uddiclient_subscription_v3.jar;DIST_DIRECTORY\taxonomy_client_v3.jar