XStream xstream = new XStream(new DomDriver());
SourceTransformer st = new SourceTransformer();
Object rmi = xstream.fromXML(st.toString(in.getContent()));
DefaultRemoteInvocationExecutor executor = new DefaultRemoteInvocationExecutor();
Object result = executor.invoke((RemoteInvocation) rmi, person);
// Convert result to an rmi invocation
RemoteInvocationResult rmiResult = new RemoteInvocationResult(result);
out.setContent(new StringSource(xstream.toXML(rmiResult)));
} catch (Exception e) {