Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 44519 invoked from network); 21 Aug 2009 12:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 12:46:37 -0000 Received: (qmail 67187 invoked by uid 500); 21 Aug 2009 12:46:59 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 67137 invoked by uid 500); 21 Aug 2009 12:46:59 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 67127 invoked by uid 99); 21 Aug 2009 12:46:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 12:46:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [131.239.30.131] (HELO ntmamx1.progress.com) (131.239.30.131) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 12:46:49 +0000 Received: from ntmamx1.progress.com (127.0.0.1) by ntmamx1.progress.com (MlfMTA v3.2r9) id hhqbg40171su for ; Fri, 21 Aug 2009 08:45:33 -0400 (envelope-from ) Received: from progress.com ([172.16.3.168]) by ntmamx1.progress.com (SonicWALL 7.1.1.1995) with ESMTP; Fri, 21 Aug 2009 08:45:33 -0400 Received: from NTEXFE02.bedford.progress.com (ntexfe02 [10.128.10.26]) by progress.com (8.13.8/8.13.8) with ESMTP id n7LCkSPo021405 for ; Fri, 21 Aug 2009 08:46:28 -0400 (EDT) Received: from sberyoz ([10.5.2.31]) by NTEXFE02.bedford.progress.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 21 Aug 2009 08:46:27 -0400 Message-ID: <010601ca225d$6a2e1bb0$1f02050a@emea.progress.com> From: "Sergey Beryozkin" To: References: <25076146.post@talk.nabble.com> <61b5d9410908210534q3d6ee60ei58ff9b9b5e621ce7@mail.gmail.com> Subject: Re: Handling collections with Aegis in JAX-RS Date: Fri, 21 Aug 2009 13:46:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3598 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-OriginalArrivalTime: 21 Aug 2009 12:46:27.0952 (UTC) FILETIME=[6671D700:01CA225D] X-Mlf-Version: 7.1.1.1995 X-Mlf-UniqueId: o200908211245330477346 X-Virus-Checked: Checked by ClamAV on apache.org Hi Benson As far as I remember writing a map (that is fixing the code) won't make a difference, I tried it when I spotted this test was still ignored... cheers, Sergey ----- Original Message ----- From: "Benson Margulies" To: Sent: Friday, August 21, 2009 1:34 PM Subject: Re: Handling collections with Aegis in JAX-RS > Sergey, > > You have to be kidding me. The test (testReadWriteComplexMap) writes a > plain bean and then expects to read a map. Of course if fails! > > --benson > > > On Fri, Aug 21, 2009 at 6:38 AM, Sergey > Beryozkin 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) >>> to AegisJSONProviderTest. I also updated DataBindingJSONProviderTest, one >>> of its internal classes to return List. 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. >> >>