Sergey,

the accept header is */*. I'm setting the media type on the response
with  builder.type("application/atom+xml");. Is it intended for the
media type set in a Response to reach the provider or does it get a
different one based on the request headers?

Will try the abdera tip and see if that helps..

Thanks,
Brad.

On Thu, Jun 19, 2008 at 5:08 PM, Sergey Beryozkin
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Try creating entry first and then adding it to the feed. It might be worth
> trying to do it in a simple mainline code and then try to
> use Abdera to (de)serialize the feed you just created...
>
> About the other problem you're seeing...
> What is the Accept header's value ? Does it contain application/json by any
> chance ?
>
> Cheers, Sergey
>
>
>> Ok I just tried submitting the same URL straight from TCPMon (cURL
>> didn't like the & in the query string for some reason). The request
>> was only performed once and this time it didn't hide the root cause:
>>
>> INFO: Interceptor has thrown exception, unwinding now
>> org.apache.abdera.parser.stax.FOMException:
>
>>
>> Looks like I've not populated my Feed object correctly.
>

Reply via email to