assertEquals("elem2", s.getElem2());
assertEquals(45, s.getElem3());
}
public void testInterceptorRPCLitInbound() throws Exception {
RPCInInterceptor interceptor = new RPCInInterceptor();
soapMessage.setContent(XMLStreamReader.class, XMLInputFactory.newInstance().createXMLStreamReader(
getTestStream(getClass(), "/rpc-req.xml")));
interceptor.handleMessage(soapMessage);
List<?> parameters = (List<?>) soapMessage.getContent(List.class);
assertEquals(1, parameters.size());
Object obj = parameters.get(0);