InputStream is = getClass().getResourceAsStream("/META-INF/cxf/cxf.xml");
WstxSAXParserFactory woodstoxParserFactory;
woodstoxParserFactory = new WstxSAXParserFactory();
woodstoxParserFactory.setFeature("http://xml.org/sax/features/namespace-prefixes",
true);
SAXParser parser = woodstoxParserFactory.newSAXParser();
XMLReader reader = parser.getXMLReader();
SAXSource saxSource = new SAXSource(reader, new InputSource(is));
Document document;
document = documentBuilder.newDocument();
DOMResult domResult = new DOMResult(document);