[V5.1 and later]JAX-RPC handlers - An alternative to gateway filters

JAX-RPC handlers interact with messages as they pass between the service requester and the gateway, and between the gateway and the target service.

A Java API for XML-based remote procedure call (JAX-RPC) handler is a Java class that performs a similar range of tasks to a gateway filter - from logging messages, to transforming their contents, to terminating an incoming request. For more detailed information about JAX-RPC and JAX-RPC handlers, see the following IBM developerWorks articles:

.

All new gateway installations should use JAX-RPC handlers rather than gateway filters, for the following reasons:

Filters are applied at the level of the gateway service. JAX-RPC handlers are applied to:

JAX-RPC handlers are deployed to the Web services gateway as described in Deploying handlers to the Web services gateway and Listing and managing gateway-deployed handlers. After you deploy a handler to the gateway you can add it to the handler chain for the gateway service and the channel, or to the handler chain for the target service and the target service port, as described in Listing and managing gateway-deployed Web services.

If you deploy a gateway service to run in proxy mode, then also deploy (to the gateway service and the channel) a JAX-RPC handler that can set the target endpoint for the gateway service. For more information, see JAX-RPC handlers and proxy operation.

Use of JAX-RPC handlers is currently supported only by the SOAP over HTTP channel.


Related concepts
JAX-RPC handlers and proxy operation
Related tasks
Working with JAX-RPC handlers