Package org.servicemix.ws.xmlbeans.eventing

Examples of org.servicemix.ws.xmlbeans.eventing.SubscribeDocument


/**
* @version $Revision: 468 $
*/
public class SubscribeParseTest extends TestCase {
    public void testParseXmlBeansUsingURL() throws Exception {
        SubscribeDocument doc = SubscribeDocument.Factory.parse(getClass().getResource("wse-subscribe.xml"));
        //System.out.println("Parsed: " + doc);
    }
View Full Code Here


        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);
    }
View Full Code Here

TOP

Related Classes of org.servicemix.ws.xmlbeans.eventing.SubscribeDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.