Hi, Try additionally to set property "disable.outputstream.optimization" to true.
You can take this as example: https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java;h=900c5fe407d8606cd52634bdb31aefb57fc86113;hb=HEAD Regards, Andrei. > -----Original Message----- > From: NicholaiX [mailto:injvstice+nab...@gmail.com] > Sent: Samstag, 5. August 2017 06:25 > To: email@example.com > 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.