Try additionally to set property "disable.outputstream.optimization" to true.

You can take this as example: 


> -----Original Message-----
> From: NicholaiX [mailto:injvstice+nab...@gmail.com]
> Sent: Samstag, 5. August 2017 06:25
> To: users@cxf.apache.org
> Subject: Namespace prefixes
> Is there a known issue with namespace prefixes in the body, or am I missing
> something in the documentation that Google has not turned up for me?
> I've tried setting the namespaces via "soap.env.ns.map" inside an output
> interceptor, and also on the endpoint itself... It works great for the header,
> namespaces get updated, but it doesn't seem to affect the prefixes of the 
> items
> inside the body (they still get ns2, ns3, etc).
> This is on CXF 3.2-SNAPSHOT.
> And I've also tried setting "disable.outputstream.optimization" to 
> Boolean.TRUE
> or "true" (are those equivalent?). But still can't affect the namespaces in 
> the
> body.
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Namespace-
> prefixes-tp5782462.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to