I've read all Web_api_pg document, and after that I've tried to execute the examples that are included there. I've compiled sucessfully the files, but when I execute the example, I cannot connect to the server. My server is in localhost:30999 so the line to connect is
for sure this indicates that web-api.jar file isn't from the same SP level as client, app server and database OR the files starting with 'api' in server\lib don't have exact date as file servicepack.jar in same directory.
As stated the problem is due to mismatch in the versions of WEB-API service pack version.
My OVSD Application Server running with SP15:
I tried with web-api.jar fo SP8 version and the output is: C:\temp>java -cp .\web-api.jar;.; Example1 ixa08 system servicedesk Failed reading response from the server.
With proper SP15 web-api.jar: C:\temp>java -cp .\web-api.jar;.; Example1 ixa08 system servicedesk Display name of this account = System administrator The language of this user = English The email address of this user = null Persons using the same account : The timezone of this user = EST