> -----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.

Reply via email to