Problem :No current functionality available in CXF for adding namespaces to the envelope. The current implementation adds only the "SOAP" namespace.
Solution: Changed SoapMessage.java and SoapOutInterceptor.java to add additional ns. May not be the cleanest solution as the key ("soap.env.ns.map") for storing the namespaces map is not coming from some constants file or somethig like that.
HashMap hmap = new ..
hmap.put("prefix 1","namespace 1");
hmap.put("prefix 2","namespace 2")
shud make a client/endpoint add additional ns to the envelope