webServer = new XblWebServer(xmlRpcUrl, socketUrl, addressServer);
// publish the public methods to the XmlRpc web server:
// webServer.addHandler("authenticate", new AuthenticateImpl(glob, this, authenticate));
// webServer.addHandler("xmlBlaster", new XmlBlasterImpl(glob, this, xmlBlasterImpl));
PropertyHandlerMapping mapping = new PropertyHandlerMapping();
XmlBlasterImpl xblImpl = new XmlBlasterImpl(glob, this, xmlBlasterImpl);
AuthenticateImpl auImpl = new AuthenticateImpl(glob, this, authenticate, xblImpl);
XblRequestFactoryFactory factoryFactory = new XblRequestFactoryFactory();
factoryFactory.add(auImpl);
factoryFactory.add(xblImpl);
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);