Hi,

I need to be able to process method calls of the syntax "someMethodName" without any handler specified. Is there any way to define a default handler for such cases?

Here is some code to illustrate the problem:

Java Code:
public class EchoServer {
    public static void main(String[] args) throws Exception {
		  WebServer webServer = new WebServer(8080);
		 
		  EchoService echo = new EchoServiceImpl();
		  
		  PropertyHandlerMapping phm = new PropertyHandlerMapping();
		  phm.setVoidMethodEnabled(true);
		  phm.addHandler("EchoService", EchoService.class);
		  
		  XmlRpcServer xmlRpcServer = webServer.getXmlRpcServer();
		  xmlRpcServer.setHandlerMapping(phm);
		
		  XmlRpcServerConfigImpl serverConfig = (XmlRpcServerConfigImpl) xmlRpcServer.getConfig();
		  serverConfig.setEnabledForExtensions(true);
		  serverConfig.setContentLengthOptional(false);
		 
		  webServer.start();
    }
}
Java Code:
public class EchoClient {
	public static void main(String[] args) throws Exception {
		XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
		config.setServerURL(new URL("http://127.0.0.1:8080/xmlrpc"));
		config.setEnabledForExtensions(true);
		config.setConnectionTimeout(60 * 1000);
		config.setReplyTimeout(60 * 1000);
		XmlRpcClient client = new XmlRpcClient();
		client.setConfig(config);
		
		Object[] params = new Object[] {"bla"};
		client.execute("echo", params);
	}
}
I cannot influence the client in how it makes the calls. But I have to be able to handle this "echo" call in the server. This is example is taken from the Apache XML-RPC webpage and modified to illustrate my problem. I have already tried "" and "default" as the handler key but this was just guessing ;)


cheers
serow