Hello, In fact, after cleaning my OSGi environement, it seems not possible to run "Restlet Extension - JAXB" bundle, here is the displayed error :
-> org.osgi.framework.BundleException: Unresolved constraint in bundle org.restlet.ext.jaxb [5]: package; (&(package=javax.xml.bind)(version>=2.1.0)) Any idea to resolve this constraint ? Thanks, Stéphane > Hello, > > I try to use Restlet to do a REST call so as a REST client. I would like to > get the response as Java Object with JaxB (XML2Java). > > In Felix, I use "Restlet API" bundle, "Restlet extension - JAXB" bundle and > my application bundle. > > When I run my bundle, the REST call is done, but it seems that the response > is not managed by JaxB. Here is the log : > 15/11/2010 17:56:11,161 - WARN - org.restlet - Unable to find > a > converter for this representation : [text/xml,ISO-8859-1] > > If the "Restlet extension - JAXB" bundle is started or not the behaviour is > the same :( > > If I launch my application, in a standard environement (with the previous > bundles as libraries), everything is ok. > > > Is there any specific thing to do to have "Restlet extension - JAXB" bundle > that works with "Restlet API" bundle > > Thanks, > > Stéphane ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682245

