I am trying to use Spring injection described here:
Injecting proxies
<http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Injectingproxies>
  



I am getting the following exception:



Of course CustomerService is an interface. To my opinion it must be an
interface. And to prove that I have used a class instead of this interface
and I am getting: demo.jaxrs.client.CustomerServiceImpl is not an interface.
BTW Using 'JAXRSClientFactory.create' everything works fine.

I have tried this using CXF 3.0.5 and 3.1.0.

What's wrong? Any ideas?




--
View this message in context: 
http://cxf.547215.n5.nabble.com/JAX-RS-Injecting-client-proxies-by-Spring-Specified-class-is-an-interface-tp5758058.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to