cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kampf, Eric" <>
Subject RE: Aegis Binding without namespaces
Date Tue, 05 Oct 2010 03:49:06 GMT

Thanks for all of your effort on this.  It is much appreciated.

I have implemented something similar and am still seeing namespaces in a couple places.  I
see them in collection elements, xsd types and cxf types.   I will re-evaluate with your version
of the no-namespace provider.  If it is still a problem, I will incorporate examples into
your test.

Thanks again.


-----Original Message-----
From: Benson Margulies [] 
Sent: Monday, October 04, 2010 9:47 PM
Subject: Re: Aegis Binding without namespaces

OK, I got reading in place. Starting from
org.apache.cxf.jaxrs.provider.AegisElementProviderTest you can see the
whole business. Note that I did not put a cache into the no-namespace
provider, and that the modularity of the abstract provider does not
allow you to take control of this part of the business and let it have
a cache. So you'll need your own.

On Mon, Oct 4, 2010 at 9:39 PM, Benson Margulies <> wrote:
> How about:
> <?xml version='1.0' encoding='UTF-8'?><AegisTestBean
> xmlns:xsi=""
> xsi:type="AegisTestBean"><boolValue>true</boolValue><strValue>hovercraft</strValue></AegisTestBean>
> I'm about to check in a demo of how to make that work. Warning: I've
> only tested the 'write' side so far.
> On Mon, Oct 4, 2010 at 8:59 PM, Benson Margulies <> wrote:
>> I bet that this isn't good enough for you due to the namespace on the
>> top level element.
>> rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/
>> did this much.
>> I will next look into where that top namespace comes from and what it
>> would take to get rid of it. I think we are now talking about type
>> mapping, and we'll need a custom type mapping to fix THAT.
>> On Mon, Oct 4, 2010 at 8:53 PM, Benson Margulies <> wrote:
>>> I created a test case for this, and it seemed to work.
>>> <?xml version='1.0' encoding='UTF-8'?><ns1:AegisTestBean
>>> xmlns:ns1=""
>>> xmlns:xsi=""
>>> xsi:type="ns1:AegisTestBean"><boolValue>true</boolValue><strValue>hovercraft</strValue></ns1:AegisTestBean>
>>> I'm going to check it in so you can easily see it.
>>> --
>>> View this message in context:
>>> Sent from the cxf-user mailing list archive at
View raw message