I have a Remote method in a server with no arguments. I ‘am not able to invoke it from my java client. But i’m able to invoke a method with arguments.
**XmlRpcClient client = new XmlRpcClient();
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://localhost:8000"));
client.setConfig(config);
Object[] params = new Object[]{null};
Object result = client.execute("hello",params);
System.out.println(result);**
Instead of
(a single-element array containing
null) try(an empty array).