/**
* Discard any WS-* headers from the message
*/
private void discardWSHeaders(SOAPMessageContext context) {
try {
SOAPHeader header =
context.getMessage().getSOAPPart().getEnvelope().getHeader();
Iterator headerElements = header.examineAllHeaderElements();
while (headerElements.hasNext()) {
SOAPHeaderElement headerElement =
(SOAPHeaderElement)headerElements.next();
Name headerName = headerElement.getElementName();
if (WSRM_NAMESPACE_URI.equals(headerName.getURI())