Hi, Please ignore the mail below. The problem is solved.
Thanks, Tarun On Sat, Jan 8, 2011 at 12:16 AM, Tarun Ramakrishna <[email protected]> wrote: > Hi, > > (This stuff is within oSGI and I am omitting spring due to classloading > issues.) > > When I initialize my bus using: > > JAXRSServerFactoryBean sfb = new JAXRSServerFactoryBean(); > sfb.setAddress("/"); > > List<Class> resourceClasses = new ArrayList<Class>(); > resourceClasses.add(...); > sfb.setResourceClasses(resourceClasses); > sfb.create(); > > then "application/xml" output works fine. Unfortunately, I am > uncertain on how to get "application/json" output? > > Any help/pointers much appreciated, > Thanks & Regards, > Tarun >
