Package com.volantis.xml.pipeline.sax.impl.drivers.webservice

Examples of com.volantis.xml.pipeline.sax.impl.drivers.webservice.RequestOperationProcess


    }

    // javadoc inherited
    protected XMLProcess createTestableProcess() {

        RequestOperationProcess process =
                new RequestOperationProcess();

        initializeProcess(process);

        return process;
    }
View Full Code Here


     * Test stopProcess() with a setup that uses simple types for
     * both request and response.
     * @throws Exception If something goes wrong.
     */
    public void testStopProcessAmazon() throws Exception {
        RequestOperationProcess process =
                (RequestOperationProcess) createTestableProcess();

        XMLPipelineContext context = process.getPipelineContext();

        SAXHandler saxHandler = new SAXHandler();

        XMLProcess next = XMLHelpers.createSAXHandlerProcess(saxHandler);

        process.setNextProcess(next);

        // Setup the operation and message.
        WSDLOperation operation = new WSDLOperation();
        Message message = new Message();
        WSDriverTestHelpers.setupAmazonOperationMessage(operation,
                message, "Douglas Adams");

        context.setProperty(Operation.class, operation, false);
        context.setProperty(Message.class, message, false);

        process.stopProcess();

        Document document = saxHandler.getDocument();

        String documentString = new XMLOutputter("  ", true).
                outputString(document);       
View Full Code Here

TOP

Related Classes of com.volantis.xml.pipeline.sax.impl.drivers.webservice.RequestOperationProcess

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.