I am trying to connect to 9.2v server. Downloaded Tableau-SDK-C-Java-64Bit-9-3-1 and running the sample PublishOrder. serverConnection.connect("http://ipaddress", "user", "pwd", ""); gives 403 error. Checked the TableauSDKServer.log, found that the signin url contains 2.0 version instead of 2.2 - http://ipaddress/api/2.0/auth/signin.
When I ran rest api sample it works without errors and there the version used in the url is 2.2.
How can I configure the sdk to generate the api/2.2?