WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Creating a new JAX-RPC handler list

A Java API for XML-based remote procedure calls (JAX-RPC) handler is a Java class that performs a range of handling tasks. For example: logging messages, or transforming their contents, or terminating an incoming request. Create a JAX-RPC handler list for use with service integration bus-deployed Web services.

Before you begin
You can only add previously-configured handlers to a handler list. To configure a handler, see Creating a new JAX-RPC handler configuration.
About this task

Handlers monitor messages at inbound and outbound ports, and take appropriate action depending upon the sender and content of each message. To enable JAX-RPC handlers to perform more complex operations they can be chained together into handler lists. The approach taken in WebSphere Application Server is therefore to apply handler lists (rather than individual handlers) at the ports, where each handler list contains one or more handlers.

To create a new JAX-RPC handler list, use the administrative console to complete the following steps:

Procedure

  1. In the navigation pane, click Service integration > Web services > JAX-RPC handler lists. The JAX-RPC handler lists collection form is displayed.
  2. Click New. The JAX-RPC handler lists settings form is displayed.
  3. Type the following general properties:
    Name
    Type the name by which the handler list is known. This name must be unique, and it must follow the following syntax rules:
    • It must not start with "." (a period).
    • It must not start or end with a space.
    • It must not contain any of the following characters: \ / , # $ @ : ; " * ? < > | = + & % '
    For example TestList.
    Description
    Type the (optional) description of the handler list.
    JAX-RPC handlers
    In the JAX-RPC handlers pane, complete the following steps:
    1. Select one or more handlers from the list of available JAX-RPC handlers, then click Add to move the selected handlers into the list of handlers for this JAX-RPC handler list.
    2. Select a handler in the list of handlers for this JAX-RPC handler list, then click Up or Down to change the position of the handler within the list.
    Handlers are applied in the sequence in which they appear in the handler list.
    Note: If you click Reset, only the Name and Description fields are reset to their state when the form was first loaded. The two lists of available and assigned handlers are not reset.
  4. Click OK. The general properties for this item are saved.
  5. Save your changes to the master configuration.
Results
If the processing completes successfully, the list of handler lists is updated to include the new handler list. Otherwise, an error message is displayed.
What to do next
To use this handler list, select it for use with a Web service as described in Modifying an existing inbound service configuration or Modifying an existing outbound service configuration.
Related concepts
Service integration technologies and JAX-RPC handlers
Related tasks
Creating a new JAX-RPC handler configuration
Sending Web service messages directly over the bus from a JAX-RPC client
Related reference
Implementing JAX-RPC handlers to access SDO messages
JAX-RPC: Core Web services API in the Java platform
Getting Started with JAX-RPC
A developer introduction to JAX-RPC, Part 2: Mine the JAX-RPC specification to improve Web service interoperability
Support for J2EE Web Services in WebSphere Studio Application Developer V5.1 -- Part 3: JAX-RPC Handlers

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/tasks/tjw_jaxrpc_handler_list_new.html

Copyright IBM Corporation 2004, 2009. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)