mapping.setRequestProcessorFactoryFactory(factoryFactory);
mapping.addHandler("authenticate", auImpl.getClass()); // register update() method
mapping.addHandler("xmlBlaster", xblImpl.getClass());
XmlRpcHttpServer xmlRpcServer = (XmlRpcHttpServer)webServer.getXmlRpcServer();
XmlRpcServerConfigImpl serverCfg = new XmlRpcServerConfigImpl();
serverCfg.setEnabledForExceptions(true);
serverCfg.setEnabledForExtensions(true);
xmlRpcServer.setConfig(serverCfg);
xmlRpcServer.setHandlerMapping(mapping);
boolean useCDATA = addressServer.getEnv("useCDATA", false).getValue();
XblWriterFactory writerFactory = new XblWriterFactory(useCDATA);
xmlRpcServer.setXMLWriterFactory(writerFactory);
webServer.start();
log.info("Started successfully XMLRPC driver, access url=" + this.xmlRpcUrl.getUrl());
}