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

Daniel Kulp resolved CXF-1977.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4
         Assignee: Daniel Kulp


This was resolved as part of CXF-1494  by making the ClassHelper.getRealClass 
stuff really dig into the Spring AOP proxies and such to retrieve the actual 
classes.

> simple:frontend cannot use jdk dynamic proxy as serviceBean
> -----------------------------------------------------------
>
>                 Key: CXF-1977
>                 URL: https://issues.apache.org/jira/browse/CXF-1977
>             Project: CXF
>          Issue Type: Bug
>          Components: Simple Frontend
>    Affects Versions: 2.1.3
>         Environment: java version "1.6.0_11"
> Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
>            Reporter: Julian Vassev
>            Assignee: Daniel Kulp
>             Fix For: 2.1.4
>
>
> I have the following spring definition
> <simple:server id="ws_eventService" serviceClass="xxx.EventService" 
> address="/EventService">
>               <simple:serviceBean>
>                       <ref bean="eventService"/>
>               </simple:serviceBean>
>               <simple:dataBinding>
>                      <bean 
> class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
>                </simple:dataBinding>
> </simple:server>
> Here, eventService is a is JDK dynamic proxy that is created by spring (in my 
> case a hessian client proxy). It fails with NPE in 
> AnnotationInterceptors.getAnnotationObject() because 
> ClassHelper.getRealClass(a_JDK_proxy) return null.
> The proxy implements the xxx.EventService interface

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