Hello
This is my first post, so I hope is the right place
I am tryng to use JHSDK to make a simple java client but I was stopped by this error on login (first step ) "E03020517: Client and server product versions do not match."
I followed the Sample1 code found in sdk, I have harvest client installed on my PC (an old Windows XP with Eclipse) and it works fine, I check the versions of the client and the server are the same (Product 12.1.0.141)
I use the jar from my client sdk folder but also I try the jar from the server (are the same).
What did I do wrong?
Thanks
Roberto
--Source code -----------------------------
JCaHarvest harvest = new JCaHarvest(sBroker);
String[] keys = harvest.getProductInfo().getKeyList();
for (String key: keys) {
System.out.print(key);
System.out.print(" = ");
System.out.println(harvest.getProductInfo().getString(key));
}
// Login
int iResult = harvest.login(sUser, sPassword);
--Full log output----------------------------
CA_ATTRKEY_CLIENT_BUILD = .135
CA_ATTRKEY_CLIENT_PATCH = 0
CA_ATTRKEY_CLIENT_VERSION = 7.0
I00060040: New connection with Broker harvest established.
E03020517: Client and server product versions do not match.
E03090004: ERROR: Login failed.