Configure JAX-WS handlers
A JAX-WS 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. We can create JAX-WS handlers, chain them together in the form of a handler list, then apply the handler list to a JAX-WS based Version 7.0 WS-Notification service point (for inbound invocation handling) or WS-Notification service (for outbound invocation handling).
The Java API for XML-based Web Services (JAX-WS) provides you with a standard way of developing interoperable and portable web services. To create a JAX-WS handler, we can use a tool such as IBM Rational Application Developer. To enable handlers to undertake more complex operations, you chain them together into handler lists. You associate each handler list with one or more JAX-WS based Version 7.0 WS-Notification services or service points, so that the handler list can monitor WS-Notification activity and take appropriate action depending upon the sender and content of each inbound or outbound message.
Detailed instructions on how to configure JAX-WS handlers and handler lists for use with JAX-WS based Version 7.0 WS-Notification services are provided in the following topics:
- Load JAX-WS handler classes.
- Create a new JAX-WS handler configuration.
- Modify an existing JAX-WS handler configuration.
- Delete JAX-WS handler configurations.
- Create a new JAX-WS handler list.
- Modify an existing JAX-WS handler list.
- Delete JAX-WS handler lists.
Subtopics
- Loading JAX-WS handler classes
A JAX-WS handler interacts with messages through a JAX-WS based Version 7.0 WS-Notification service point (for inbound invocation handling) or WS-Notification service (for outbound invocation handling), therefore you must make the handler class available to the server or cluster that hosts the WS-Notification service point or service to monitor.
- Create a new JAX-WS handler configuration
Create a Java API for XML-based Web Services (JAX-WS) handler configuration for use, as part of a handler list, with JAX-WS based Version 7.0 WS-Notification services.
- Create a new JAX-WS handler list
Create a Java API for XML-based Web Services (JAX-WS) handler list for use with JAX-WS based Version 7.0 WS-Notification services.
Related concepts
WS-Notification
Related tasks
Create a new Version 7.0 WS-Notification service Create a new Version 6.1 WS-Notification service Create a new Version 7.0 WS-Notification service point Create a new Version 6.1 WS-Notification service point Create a new WS-Notification administered subscriber Create a new WS-Notification permanent topic namespace Apply a WS-Notification topic namespace document Use WS-Notification for publish and subscribe messaging for web services Secure WS-Notification Apply a JAX-WS handler list to a WS-Notification service
WS-Notification troubleshooting tips
Related information:
Publish the WSDL files for a WS-Notification application to a compressed file