StaxUtils.copy(xReader, cachedOS);
InputStream transformedIS = XSLTUtils.transform(getXSLTTemplate(), cachedOS.getInputStream());
XMLStreamReader transformedReader = StaxUtils.createXMLStreamReader(transformedIS);
message.setContent(XMLStreamReader.class, transformedReader);
} catch (XMLStreamException e) {
throw new Fault("STAX_COPY", LOG, e, e.getMessage());
} catch (IOException e) {
throw new Fault("GET_CACHED_INPUT_STREAM", LOG, e, e.getMessage());
} finally {
StaxUtils.close(xReader);
try {
cachedOS.close();
} catch (IOException e) {