XMLStreamReader in = createXMLStreamReader(getClass().getResource("wse-subscribe.xml"));
XmlObject xmlObject = XmlObject.Factory.parse(in);
assertTrue("should be a SubscribeDocument: " + xmlObject.getClass(), xmlObject instanceof SubscribeDocument);
SubscribeDocument doc = (SubscribeDocument) xmlObject;
//System.out.println("Parsed: " + doc);
}