[ 
https://issues.apache.org/jira/browse/CXF-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Glen Mazza closed CXF-1301.
---------------------------

    Resolution: Duplicate

Duplicate with CXF-1293

> Adding support to configuring JAX-WS Handlers in spring configuration file
> --------------------------------------------------------------------------
>
>                 Key: CXF-1301
>                 URL: https://issues.apache.org/jira/browse/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.  
> Dan
> 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="http://service.jaxws.cxf.apache.org/endpoint";
> >     xmlns:s="http://service.jaxws.cxf.apache.org/service"/>
> > </beans>

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

Reply via email to