Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 298268

Summary: Enhance the JAX-WS Handler configuration and management support
Product: [WebTools] WTP Webservices Reporter: Shane Clarke <shane_clarke>
Component: jst.ws.jaxwsAssignee: Project Inbox <wtp.inc.jaxws-inbox>
Status: RESOLVED FIXED QA Contact: Shane Clarke <shane_clarke>
Severity: enhancement    
Priority: P3 CC: danail.branekov, keith.chong.ca
Version: unspecifiedKeywords: plan
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: jaxws

Description Shane Clarke CLA 2009-12-20 13:09:43 EST
From Bug# 260856:

The ordering of handlers in a chain does matter. Therefore the wizard should be
able to specify the position of the created handler in the chain.
There should be also means for assigning an existing handler to a handler chain
(already existing or newly created). Maybe this task should be performed via a
similarly looking wizard where the user can specify the handler implementation,
the chain it should be assigned to and the position the handler should go to.
Thinking further there should be probably some kind of an editor for modifying
the handlers ordering - something really simple with a list of the handlers and
two buttons - "Move Up" and "Move Down"
Comment 1 Shane Clarke CLA 2010-02-07 07:40:24 EST
Targeting 3.2 M6 for this.
Comment 2 Shane Clarke CLA 2010-02-21 15:37:29 EST
Fix committed.

An additional page for ordering handlers has been added to the JAX-WS Handler wizard and is available when editing an existing handler-chain file.

Another wizard that contains the same page with additional actions (Add, Remove) has been contributed to the context menu of the JAX-WS Web Services nodes in the project explorer. (org.eclipse.ui.menus)

This wizard will check for a handler-chain configured using the @HandlerChain annotation on the web service and display it's contents for configuration.

If there is no @HandlerChain annotation the user is given the option of choosing an existing handler-chain file or creating a new one. An @HandlerChain annotation will then be added to the web service is this instance.