cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Handling collections with Aegis in JAX-RS
Date Fri, 21 Aug 2009 12:27:24 GMT
I have a rather clear memory of working on these, there wasn't enough
passing of Generic classes around. I'll go have a look.


On Fri, Aug 21, 2009 at 6:38 AM, Sergey
Beryozkin<sergey.beryozkin@iona.com> wrote:
>
> Hi Benson
>
> if you could look at any of these tests or at least point me in the right
> direction then it would be great.
> I know you're busy - so just look at it whenever you get a chance, not
> urgent...
>
> cheers, Sergey
>
>
> Sergey Beryozkin-2 wrote:
>>
>>
>>
>> Hi Benson
>>
>> I can't make the Aegis tests writing/reading collections working in CXF
>> JAX-RS.
>> I've found that AegisProviderTest#testReadWriteComplexMap is still
>> @Ignored, it might've passed for you because it was @Ignored :-)
>>
>> I've also added testWriteCollections() (which writes List<AegisTestBean>)
>> to AegisJSONProviderTest. I also updated DataBindingJSONProviderTest, one
>> of its internal classes to return List<Book>. AegisJSONProvider extends
>> AegisElementProvider, DataBindingJSONProvider extends DataBindingProvider
>> which actually (in this case) delegates to Aegis DataBinding.
>>
>> AegisJSONProviderTest fails at the write time, it can't find the mapping
>> for List. DataBindingJSONProviderTest fails early at the Aegis DataBinding
>> initialization time for the same reason. I thought Lists were supported by
>> default ? I haven't found any exam[le showing how a type mapping for Lists
>> can be created.
>> Can you please, whenever you have a chance, have a look at these tests ?
>>
>> thanks, Sergey
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Handling-collections-with-Aegis-in-JAX-RS-tp24933144p25076146.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>
>

Mime
View raw message