You can send requests to services that use a Java™ Messaging Service (JMS) endpoint.
Before you begin
If the service uses Secure Sockets Layer (SSL) authentication,
create an SSL configuration before sending the request. For more information,
see Creating SSL configurations.
Procedure
To send a request to a JMS service:
- Click the Open the Generic Service Client toolbar
button (
) and select the Requests page.
- Click Add (
) and click a type of request that you want to send or in
Request Library, right-click EndPoints and
select a type of request that you want to send.
- In the Configure Protocol window,
select JMS and specify the JMS transport configuration. If necessary, click New to create an JMS transport configuration
for the call.
- Click Add to specify any properties
that are to be sent with the call.
- Click Next.
- On the Select Root Element page, if
the service uses a specific XML Schema Definition (XSD), select one
from the list or click Browse to import the
XSD file, and then, select the root element for the call. If
no XSD is available for the service, select No Schema.
- Click Finish. The
request is added to the Endpoints section of
the Request Library.
- In the Request Library, select the
request element. The generic service client shows
3 steps: Edit Data, Invoke,
and View Response. The details for the request
are displayed under the Edit Data step.
- On the Message page, use the Form, Tree,
or Source views to edit the contents of the
request. Each view shows a different format of the same
data. If you want to add or remove XML elements in the Form or Tree view,
you can click to comply with an XSD specified
in the schema catalog.
- On the Transport page, if necessary,
change the transport configuration for the request. You
can create and edit transport and security configurations by clicking
the Transport tab.
- On the Request Stack page, specify
whether you want to override the security or processing algorithms
that are applied to the outgoing request for the WSDL. Click Show
Response Stack to add a Response Stack page
to edit the security or processing algorithms for incoming responses.
Note: These
settings apply only to the current request. If you want to edit the
request or response stack for all requests that use the current WSDL
file, click Edit WSDL Security to open the WSDL
Security Editor.
- When you are ready, click Invoke to
send the service request. The generic service client
sends the request and displays the message return under the View
Response step.
What to do next
Successful requests are recorded and added to the
Request
History list. If you are using
IBM Rational® Performance Tester or
IBM Rational Service Tester for SOA Quality,
you can click the
Generate Test Suite button
(

) to create a service test.