Hi
On 11/10/12 09:57, elMateo wrote:
Hello all, and sorry if it isn't the correct list to make this question.
I need to develop a REST client into Felix and I'm not sure that I can make
with CXF.
I need to call some POST resources with different parameters. These
parameters are not primitive objects. I know that I can send primitive
objects without problems, but when I try to send other objects (no
primitives) I don't know how do it. I try to develop with RestEasy, but my
OSGi container send me an error like: don't find RestEasy library, when I
put into the container :(
Where can I found examples about this? (REST+OSGi)
Thanks in advance and sorry for the inconvenience.
np. You may have a look at a DOSGi CXF subproject or download a
Karaf-based distribution with CXF preinstalled (ex, Talend ESB) and work
with CXF JAX-RS client support, here is one link:
https://github.com/Talend/tesb-rt-se/blob/master/examples/cxf/jaxrs-advanced/service/src/main/resources/META-INF/spring/beans.xml
(shows Spring configured client loaded in Karaf, same can be done with
Blueprint)
HTH, Sergey
Best regards, Jesus!!
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com