I'm implementing a web service using @WebServiceProvider and Provider<SOAPMessage>.
I'm getting XML output that looks like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/> <SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> .... </SOAP-ENV:Body> </SOAP-ENV:Envelope> The xmlns:SOAP-ENV attributes on the Header and Body elements are redundant. They are not incorrect, just makes things cluttered. Is there a way to "normalize" the outgoing XML so that the inner xmlns attributes are omitted? Thanks, Lee
