}
public void write(byte b[], int off, int len) throws IOException {
}
});
message.setContent(XMLStreamWriter.class, dummyWriter);
<BUG>} catch (XMLStreamException e) {
}</BUG>
}
message.getInterceptorChain().add(SAAJOutEndingInterceptor.INSTANCE);
}

}
} else if (!message.containsKey(ORIGINAL_XML_WRITER)) {
XMLStreamWriter origWriter = message.getContent(XMLStreamWriter.class);
message.put(ORIGINAL_XML_WRITER, origWriter);
XMLStreamWriter dummyWriter = StaxUtils.createXMLStreamWriter(new OutputStream() {
public void write(int b) throws IOException {
}
public void write(byte b[], int off, int len) throws IOException {
}
});
message.setContent(XMLStreamWriter.class, dummyWriter);
}
message.getInterceptorChain().add(SAAJOutEndingInterceptor.INSTANCE);
}
