Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
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 Beryozkinsergey.beryoz...@iona.com wrote: Hi Benson if you could look at any of these tests or at

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Sergey Beryozkin
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 bimargul...@gmail.com To: dev@cxf.apache.org Sent: Friday, August 21,

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Sergey Beryozkin
Hi Benson I'm seeing all the Aegis write tests failing at the momentOr is it only me ? cheers, Sergey - Original Message - From: Benson Margulies bimargul...@gmail.com To: dev@cxf.apache.org Sent: Friday, August 21, 2009 5:00 PM Subject: Re: Handling collections with Aegis in

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Sergey Beryozkin
I'm confused... Hudson has apparently run the build with your changes - I'll do the clean build cheers, Sergey - Original Message - From: Sergey Beryozkin sbery...@progress.com To: dev@cxf.apache.org Sent: Friday, August 21, 2009 6:19 PM Subject: Re: Handling collections with

Re: Interceptors and type safety

2009-08-21 Thread Daniel Kulp
The main problem with Alternative 2 is the performance impact it will have. The PhaseInterceptorChain (and it's iterator) is the FUNDAMENTAL loop and adding any processing in there would occur many many times for each invoke. By then end of processing a message, it's no uncommon for the

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread D G
You are a funny man Benson - do you mind if I ask where you are located? On Aug 21, 2009, at 2:14 PM, Benson Margulies bimargul...@gmail.com wrote: I are at whole foods with iPhone - will engage when I get home. On Aug 21, 2009, at 1:28 PM, Sergey Beryozkin sbery...@progress.com wrote:

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
Lexington, MA, outside of Boston. On Fri, Aug 21, 2009 at 2:26 PM, D Gdemet...@ece.neu.edu wrote: You are a funny man Benson - do you mind if I ask where you are located? On Aug 21, 2009, at 2:14 PM, Benson Margulies bimargul...@gmail.com wrote: I are at whole foods with iPhone - will

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
We've got canned XML being checked, I'll have to recan some of it. On Fri, Aug 21, 2009 at 1:28 PM, Sergey Beryozkinsbery...@progress.com wrote: This one testWriteTo(org.apache.cxf.jaxrs.provider.AegisProviderTest) also fails Hudson provides some strange info

Re: Aegis versus JAR-RS versus XSI

2009-08-21 Thread Sergey Beryozkin
Hi Benson AegisJSONProvider and DataBindingJSONProvider do set a namespace map which contain a namespace for the xsi prefix. What exactly JSON is saying ? Sergey bimargulies wrote: Now I've got problems. To make collections work in JAX-RS, I need to ensure that xsi:type gets written

Re: Integrating JAX-RS runtime into DOSGi

2009-08-21 Thread Sergey Beryozkin
Hi Have a look here please http://cxf.apache.org/distributed-osgi.html cheers, Sergey Demetris G wrote: Hey Sergei and Josh Is the DOSGi you are referring in the essay of an email below the Masters thesis I read once (and it became an open source branch of an apache project) or

Re: Aegis versus JAR-RS versus XSI

2009-08-21 Thread Benson Margulies
See the JIRA I just gave you. The namespace map has to know about the top-level collection and the internal types. You can't do that from a Class?, you need a ParameterizedType, and then you need code to walk it and add the types to the map. On Fri, Aug 21, 2009 at 3:35 PM, Sergey

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread D G
Ha - I am in Waltham on the line of Lexington and Waltham close to IBM. How funny is that man. On Aug 21, 2009, at 2:36 PM, Benson Margulies bimargul...@gmail.com wrote: Lexington, MA, outside of Boston. On Fri, Aug 21, 2009 at 2:26 PM, D Gdemet...@ece.neu.edu wrote: You are a funny