[ 
https://issues.apache.org/jira/browse/CXF-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516555
 ] 

Zarar Siddiqi commented on CXF-803:
-----------------------------------

I've noticed that these annotations don't work when using JaxWS endpoints in 
conjunction with AOP.

If I have the following defined along with a nAOP MethodSecurityInterceptor, 
the services get created but the annotation processing is skipped.

    <bean id="myService" class="com.mycompany.MyServiceImpl"/>

    <jaxws:endpoint id="myServiceEndpoint" implementor="#myService" 
address="/MyService" />

I'm not sure if this is a problem with the code that's reading the annotations 
or if I have to configure the JaxWS endpoint differently if AOP is in play.

> Configuring interceptors using annotations
> ------------------------------------------
>
>                 Key: CXF-803
>                 URL: https://issues.apache.org/jira/browse/CXF-803
>             Project: CXF
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 2.0
>         Environment: All
>            Reporter: Zarar Siddiqi
>             Fix For: 2.0.1
>
>         Attachments: cxf-803-2.patch, cxf-803.patch
>
>
> It would be helpful to configure interceptors using annotations.  CXF would 
> benefit by having annotations similar to XFire's 
> org.codehaus.xfire.annotations.InHandlers and 
> org.codehaus.xfire.annotations.OutHandlers as it would allow specifying 
> specific interceptors for service implementations.
> This issue came up on the mailing list: 
> http://www.nabble.com/Configuring-interceptors-using-annotations-tf4097300.html
> Thanks,
> Zarar

-- 
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