Actually I was wrong (doesn't fix the problem though). I was trying to turn
off optimization at different locations, and I got confused. 


Setting this:

props.put("soap.env.ns.map", my_namespaces);
props.put("disable.outputstream.optimization", "true");
endpoint.setProperties(props);
endpoint.publish("/myendpoint");

doesn't seem to have any discernable effect. All tags inside the body are
prefixed by ns1, ns2, etc.. If I turn it off and on, the output doesn't seem
to change.

If I do a similar thing in an AbstractSoapInterceptor (like this:
x.put(AbstractOutDatabindingInterceptor.DISABLE_OUTPUTSTREAM_OPTIMIZATION,
"true") it seems to work somewhat. If I set it to false, I get all tags
prefixed by ns1, ns2, ns3. If I set it to false, I get the tags unprefixed,
except for the ns3 tag, as shown in previous post.


So, I'm confused, I guess.










--
View this message in context: 
http://cxf.547215.n5.nabble.com/Namespace-prefixes-tp5782462p5782681.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to