WebSphere Enterprise Service Bus for z/OS, Version 6.2.0 Operating Systems: z/OS


Configuring the JNDILookup Web Service

If you are using the administered JMS objects provided by WebSphere® ESB with Message Service Clients for C/C++ and .NET, you must configure the JNDILookup Web Service that WebSphere ESB provides to enable non-Java clients to access administered JMS objects from a non-Java environment.

Before you begin

Before starting this task, make sure that the JNDILookup Web Service application has been installed.

About this task

Administratively defined ConnectionFactory and Destination objects provide a separation between a JMS implementation and the JMS interfaces, which makes JMS client applications more portable since they are sheltered from the implementation details of a JMS provider. Administered objects enable an administrator to manage the connection settings for client applications from a central repository. For example, the specific queue that an application uses can be altered by changing the administered Destination object that the application obtains via JNDI.

Non-Java clients such as Message Service Clients for C/C++ and .NET can also use administered objects. However, since the administered JMS objects provided by WebSphere ESB are serialized Java objects accessed via JNDI, non-Java clients are not able to interpret them properly without the use of the JNDILookup Web Service. This web service provides a lookup operation that allows Message Service Clients for C/C++ and .NET to request the retrieval of a JNDI object by specifying the name of the object. The properties of the administered object are returned to the application using a Map of name/value pairs.

Procedure
Define the JNDILookup Web Service URL within the Message Service Client for C/C++ or Message Service Client for .NET application. To define the web service URL within an application, set the XMSC_IC_URL property of the InitialContext object to the web service endpoint URL. This property can alternatively be specified as an argument on constructing the InitialContext object. For further information, see JNDILookup Web Service.

task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.zseries.doc/tasks/twesb_clients_jndiconfig.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).