Package org.jibx.ws.transport.test

Examples of org.jibx.ws.transport.test.StubbedInboundConnection


        m_OutInProcessor = (SoapProcessor) SoapProtocol.SOAP1_1.createProcessor(ExchangeContext.createOutInExchange(outCtx, m_inCtx));
        m_InOnlyProcessor = (SoapProcessor) SoapProtocol.SOAP1_1.createProcessor(ExchangeContext.createInOnlyExchange(m_inCtx));
    }

    public void testMessageAttributesFromTransport() throws Exception {
        StubbedInboundConnection conn = StubbedChannel.getInConnection();
        StubbedChannel.setInput(TestObjects.RESPONSE_SOAP);
        conn.setCharacterEncoding("ENC");
        conn.setContentType("CT");
        conn.setOperationName("OPNM");
        m_InOnlyProcessor.receiveMessage(conn);
        assertEquals("Character Encoding", conn.getCharacterEncoding(), "ENC");
    }
View Full Code Here

TOP

Related Classes of org.jibx.ws.transport.test.StubbedInboundConnection

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.