On 24/06/12 17:51, dattu.1729 wrote:
Hi,
Can you please tell me how to add jaxrs provider in blueprint. I am trying
like below, but not working..
<jaxrs:server address="/user" id="userProfileResource">
<jaxrs:serviceBeans>
<ref component-id="userProfileResourceImpl" />
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref component-id="jsonProvider" />
</jaxrs:providers>
</jaxrs:server>
<reference id="jsonProvider" interface="javax.ws.rs.ext.MessageBodyReader"
/>
This should be a bean with a class name, same as for userProfileResourceImpl
Sergey
-----
Thanks
Dattu
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-Osgi-Rest-Provider-tp5710179.html
Sent from the cxf-issues mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com