Im trying to send request using Java xmlrpc but getting error 500. Server logs missing.
final String url = "http://localhost:8069",
db = "test",
username = "***",
password = "***";
final XmlRpcClient client = new XmlRpcClient();
final XmlRpcClientConfigImpl common_config = new XmlRpcClientConfigImpl();
common_config.setServerURL(new URL(String.format("%s/xmlrpc/2/common", url)));
client.execute(common_config, "version", emptyList());
HTTP server returned unexpected status: INTERNAL SERVER ERROR
But Python solution works well.
import xmlrpc.client
url = "http://localhost:8069"
db = "test"
username = "***"
password = "***"
common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url))print(common.version())
{'server_version': '16.0-20221116', 'server_version_info': [16, 0, 0, 'final', 0, ''], 'server_serie': '16.0', 'protocol_version': 1}