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 ) 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. :) |
One answer
![]()
You're supposed to change "https://example.com:9443/dm" to match your actual environment. Have you done so? You can verify the URL in your browser.
If the URL is correct and you still have the timeout error, you will need to provide more details about your environment. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
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