protected Document readDocument(String name) throws Exception,
ParserConfigurationException {
InputStream inStream = getClass().getResourceAsStream(name);
return StaxUtils.read(inStream);
}
<BUG>protected SOAPMessage readSAAJDocument(String name) throws SAXException, IOException,
ParserConfigurationException, SOAPException {
InputStream inStream = getClass().getResourceAsStream(name);
return MessageFactory.newInstance().createMessage(null, inStream);
}</BUG>
protected SoapMessage getSoapMessageForDom(Document doc) throws SOAPException {

protected Document readDocument(String name) throws Exception,
ParserConfigurationException {
InputStream inStream = getClass().getResourceAsStream(name);
return StaxUtils.read(inStream);
}
protected SoapMessage getSoapMessageForDom(Document doc) throws SOAPException {
