You can create an JMS transport configuration that describes
the transport settings for a service request that uses the Java™ Message Service (JMS) protocol,
including JBoss and IBM® WebSphere® JMS. Transport and
security settings can be associated with any service request.
Before you begin
If you are using SOAP security,
ensure that you have configured the environment with the correct libraries
and configuration files.
Procedure
- Click the Generic service client
toolbar button to open the generic service client
and click the Transport tab. This
opens the Transport Configurations page.
- On the Transport Configurations page,
click one of the following buttons:
- Create a basic JMS configuration (
) to create a new generic JMS
transport configuration.
- Create a JBoss JMS configuration (
) to create a JMS
configuration preconfigured for JBoss.
- Create a WebSphere JMS configuration (
) to create a JMS configuration
preconfigured for WebSphere JMS.
- Type a Name for the new transport
configuration and select whether the service is a queue or
a topic destination.
- Type the address of the JMS end point.
- Select Use temporary object to provide
the address of the reception point to the service as a temporary object.
If you disable this setting, you must manually specify the reception
point address.
- If the service requires authentication, select Basic
Authentication and type the user name and password to
access the service.
- If the service requires a custom Java Naming and Directory Interface (JNDI) adapter,
you can provide your own Java class
that extends the Apache Axis class. In this case, select Custom Adapter
and specify the name of the custom Java class.
See Extending test execution with custom code for
more information about custom code.
- Specify whether the message type is Text or Binary.
- If necessary, click Add or Edit to
specify the Context factory properties or Connector
properties required to access the service.
- Click OK to create the new configuration.
What to do next
Once created, you can use your new configuration with any
service request that uses the JMS transport protocol. You can use
the
Configurations list in the generic service
client to edit existing configurations or to create duplicate configurations.