cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal Janjanam (JIRA)" <>
Subject [jira] Created: (CXF-1301) Adding support to configuring JAX-WS Handlers in spring configuration file
Date Thu, 13 Dec 2007 21:33:42 GMT
Adding support to configuring JAX-WS Handlers in spring configuration file

                 Key: CXF-1301
             Project: CXF
          Issue Type: New Feature
          Components: Configuration
    Affects Versions: 2.0.4
         Environment: All
            Reporter: Gopal Janjanam

I am adding the discussion thread here. Looks like this feature is requested by many users
and adds a lot of value as we don't have to hardcode file names as part of HandlerChain annotation
in each class.
>From Dan's comments it looks like infrastructure is all there just spring integration
needs to be done.


I just answered this for someone else as well...  :-)

Currently, no.   It looks like it was started as the HandlerChainBuilder 
has a "buildHandlerChainFromConfiguration" method, but it's only called 
from various unit tests right now.   It's not wired into the spring 
loading at all.   That would be a good feature request.  


On Monday 10 December 2007, gjanjana wrote:
> I was trying to configure JAX-WS Handler as part of spring 
> configuration file. I don't find any means to do that. Is it possible 
> to register JAX-WS Handler at deploy time instead of using 
> @HandlerChain annotation. I don't want every java class to declare 
> this handler chain.
> For example following descriptor markup registers jaxws service 
> endpoint. This element accept CXF interceptors as part of 
> "jaxws:inInterceptors" element. However I don't find any way to 
> register JAX-WS Handlers.
> <jaxws:endpoint id="classImpl"
>     implementor="org.apache.cxf.jaxws.service.Hello"
>     endpointName="e:HelloEndpointCustomized"
>     serviceName="s:HelloServiceCustomized"
>     address="http://localhost:8080/test"
>     xmlns:e=""
>     xmlns:s=""/>
> </beans>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message