throws MessagingException {
try {
// Deserialize rmi invocation
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