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


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