Im trying to get all Leads / Contact / Accounts from the database. So i try to use executeFind but this is not working. Im always getting 0 rows with the run service (also in java).
As entityName i set as example : PartyContactInfo
what am i doing wrong?
public static void main(String[] args) throws MalformedURLException, XmlRpcException {
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://10.0.2.19:8080/webtools/control/xmlrpc"));
config.setEnabledForExceptions(true);
config.setEnabledForExtensions(true);
XmlRpcClient client = new XmlRpcClient();
client.setConfig(config);
Map paramMap = new HashMap();
//Required Fields
paramMap.put("login.username", "admin");
paramMap.put("login.password", "opentaps");
paramMap.put("entityName", "Party");
Object[] params = new Object[]{paramMap};
Map result = (Map) client.execute("executeFind", params);
System.out.println(result.toString());
}
After spitting out the server log filles it looks like an internal error from the ofbiz server. reported it to Ofbiz if they can patch it! And hopefully will those services be back on track very soon.