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");
}