// Setup the XML-RPC impl to support UTF-8 encoding
cfg.setEncoding("utf-8");
cfg.setKeepAliveEnabled(true);
// Create the XML-RPC server and add our handler as the default.
this.server = new XmlRpcServletServer();
this.server.setConfig(cfg);
this.server.setHandlerMapping(new XmlRpcHandlerMapping() {
public XmlRpcHandler getHandler(String s) throws XmlRpcException {
return RPCMessageInterface.getHandler();
}