Try setting a namespace map:

http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-ConfiguringJSONprovider

or set "ignoreNamespaces" property if you do not need them

Cheers, Sergey

On 04/10/11 17:09, KARR, DAVID wrote:
I'm finding that I need to control the prefix mapping used by Jettison.  I started out using the default, 
which resulted in "ns1", but then I noticed that in integration tests it's coming out as 
"cns".  I can't have it "changing its mind", because my client code isn't that flexible.

I found the page that described how to set up the 
"MappedXML{Input,Output}Factory", but I'm not sure how I make use of that when 
I'm defining the server in my Spring context.

Reply via email to