Hello everybody I review this example and I try to use. Now, I'm using cxf-dosgi-ri-singlebundle-distribution to develop a REST client into my Apache Felix container. But I have some errors and I can't execute my bundle :(
Do I need more bundles, a part of cxf-dosgi-ri-singlebundle-distribution, to develop a REST client into Felix?? Only with this bundle, Felix show me an error because it don't find javax.ws.rs.core Thanks in advance!! On Thu, Oct 11, 2012 at 12:04 PM, elMateo <[email protected]> wrote: > Thanks a lot Sergey!! > > I'm going to review it. > > > On Thu, Oct 11, 2012 at 11:58 AM, Sergey Beryozkin > <[email protected]>wrote: > >> 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<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 >> > >
