Creating connection with Rhapsody Design manager through Java API
After setting up the DM SDK environnement [https://jazz.net/wiki/bin/view/Main/Dm5Sdk_ExternalFileExample]
Following the same code example from the link( https://jazz.net/wiki/bin/view/Main/Dm5Sdk_CommonTasks#CreateConnection )
Following the same code example from the link( https://jazz.net/wiki/bin/view/Main/Dm5Sdk_CommonTasks#CreateConnection )
try{ DmClient client = new DmClient("test", "test", "https://example.com:9443/dm"); String apiVersion = client.getApiVersion(); System.out.println( "DM API Version: " + apiVersion); } catch( DmClientException ce ) { System.out.println( "DM Client Exception: " + ce.getMessage()); }i have added all the required DM jar files in the path. After running code DmClient [ DmClient client = new DmClient("test", "test", "https://example.com:9443/dm"] object is getting created but then "Connection Timeout" Exception occurs. Can anybody tell me what went wrong ? your help would greatly appreciated. :)
Comments
Francois-xavier Panaget
Jul 28 '15, 4:26 a.m.Hi,
According to the thread: rhapsody design manager 6.0 : Hostname in certificate didn't match, you seem to have passed that problem since you get certificate problems now. Can you confirm?
Thanks
François