Hi
I have this test code working when jaxrs:client has its service class
property set to WebClient:
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(new
String[] {CLIENT_CONFIG_FILE5});
Object bean = ctx.getBean("bookService.proxyFactory");
assertNotNull(bean);
JAXRSClientFactoryBean cfb = (JAXRSClientFactoryBean) bean;
WebClient wc = (WebClient)cfb.create();
I think you should be able to inject WebClient created via jaxrs:client too
Cheers, Sergey
--
View this message in context:
http://cxf.547215.n5.nabble.com/Use-jaxrs-client-client-for-XML-over-HTTP-Service-tp5743813p5743823.html
Sent from the cxf-user mailing list archive at Nabble.com.