message.setContent(SOAPMessage.class, soapMessage);
} catch (SOAPException e) {
throw new SoapFault(new Message("SOAPEXCEPTION", BUNDLE), e, version.getSender());
}
} else if (!message.containsKey(ORIGINAL_XML_WRITER)) {
<BUG>try {</BUG>
XMLStreamWriter origWriter = message.getContent(XMLStreamWriter.class);
message.put(ORIGINAL_XML_WRITER, origWriter);
<BUG>XMLStreamWriter dummyWriter = StaxUtils.getXMLOutputFactory()

.createXMLStreamWriter(new OutputStream() {</BUG>
public void write(int b) throws IOException {

message.setContent(SOAPMessage.class, soapMessage);
} catch (SOAPException e) {
throw new SoapFault(new Message("SOAPEXCEPTION", BUNDLE), e, version.getSender());
}
} 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 {
