Hi, ProviderFactory (the default one) must've logged about it at the moment it was creating JSONProvider - it certainly does in OSGI if no jettison bundle has been installed... Put a breakpoint please in org.apache.cxf.jaxrs.provider.ProviderFactory, in a static initializer - you should see it logging the warning...
What I really should do is to be able to load providers dynamically, on demand - I'll add a task to the list and try to prioritize on it Cheers, Sergey -----Original Message----- From: KARR, DAVID (ATTCINW) [mailto:[email protected]] Sent: 28 August 2009 18:38 To: [email protected] Subject: RE: Simple prototype works fine producing XML, but blank JSON > -----Original Message----- > From: KARR, DAVID (ATTCINW) > Sent: Friday, August 28, 2009 10:04 AM > To: [email protected] > Subject: Simple prototype works fine producing XML, but blank JSON > > I have a simple prototype that is producing XML perfectly fine. It > uses > Spring configuration without annotations. > > Today I added a "produces" attribute to the operation definition to > allow it to generate both XML and JSON. When I set the "Accept" header > in my client to "application/json" the server operation appears to > work, > but the response contains headers but no content. I fixed this problem. I had neglected to put the jettison jar in my app. It's curious, however, that I saw no exception complaining about this. When I started stepping through JSONProvider (instead of AegisJSONProvider), I saw that it hit a ClassNotFoundException, but that didn't appear to surface anywhere.
