users@jersey.java.net

Re: [Jersey] posting a list of objects

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 07 Jan 2010 13:41:15 +0100

On Jan 7, 2010, at 10:39 AM, Paul Sandoz wrote:

> Hi Suchitha,
>
> Case 2 is not currently supported.
>
> I think you have have swapped the output from case 1 and case 2.
>
> For case 1 Jersey will use the StAX API and skip the root element,
> and it does not matter what the name of that root element is.
>
> Can you try upgrading to a later version of Jersey, e.g. 1.1.4.1, to
> see if case 1 works for you?
>
> I tried to avoid logging of stack traces for exceptions or in the
> responses but i think i need to enable such logging for say a level
> >= FINE or when tracing is enabled.
>

I have updated the trunk to log such exceptions when tracing is
enabled, see:

   https://jersey.dev.java.net/nonav/apidocs/1.1.5-ea-SNAPSHOT/jersey/com/sun/jersey/api/core/ResourceConfig.html
#FEATURE_TRACE

Paul.