hi sergei:
  thanks for these changes - in 2.2.4 i had custom stream writer to remove
these namespaces by hijacking the output stream.
with the StaxTransformFeature and at the USER_LOGICAL space adding
message.put( "soap.env.ns.map" , nsMap); i am able to completely control
what goes out and into the wire. 

however, i was wondering if you could add support for regex/pattern matching
on strings that would really help a situation like the following xml

out xml going from cxf :
<ns2:WebGet xmlns:ns3="http://schemas.web.com/xml/error/";
xmlns:ns2="http://schemas.web.com/service";><ns2:Buffer><ns2:Name>ROUTE</ns2:Name></ns2:Buffer></ns2:WebGet>

out xml i need :
<WebGet><Buffer><Name>ROUTE<Name><Buffer><WebGet>

of course i can get this result by having an entry in my spring config(as
you illustrated) for both ns2 and ns3 namespaces.

i want to be able to pattern match like : "*schemas.web.com*" or simply drop
all namespace elements. is there a way to do that?




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

Reply via email to