In the tree view, select the Web Services node.
Click on the Registry tab.
Click on the Add button.
Define the settings to add a reference to an existing web service registry as follows:
JNDI Name: Specify a unique name. This name will be registered in the JNDI naming service. The JNDI name organizes and locates components within a distributed computing environment similarly to the way that card catalogs organize and represent locations of books in a library. Consequently, the JNDI name becomes an important method of accessing the JDBC resource. By convention, the name begins with the jdbc/ string. For example: jdbc/payrolldb. Don't forget the forward slash.
The registry JNDI Name is created as a result of the following steps:
A resource adapter is created that can talk to the registry. In the application server context, a JAXR resource adapter comes preconfigured to talk to a UDDI registry. You can also download a SOA registry resource adapter module. The SOA registry is the Sun specific ebXML registry.
Create a connection resource pool using the resource adapter.
Create a connector resource using this connection pool. The JNDI Name of this connector resource is the JNDI Name of the registry.
Registry Type: Select Universal Description, Discovery, and Integration (UDDI), or ebXML (Electronic Business XML Initiative) to identify the standard used for your registry.
UDDI is an XML registry that provides standard mechanisms for businesses to describe and publish their services. Whereas, the ebXML Registry is both a metadata registry as well as a repository that can hold arbitrary content.
Publish URL: Specify the URL for publishing the data to the registry. The format is: http://<hostname>/<path of registry installation>.
Note - The Application Server does not come with an internal registry. To publish web services to an internal registry, download and install the registry server. To publish a web service to an external registry, specify the address of the external registry.
Query URL: Specify the URL for sending queries to the registry.
User Name: Enter the user name for the registry.
Password: Enter the password for the registry.
Description: Provide a meaningful description of the component.