It's all about the answers!

Ask a question

Creating connection with Rhapsody Design manager through Java API

Naveen Tyagi (19764152) | asked Jul 24 '15, 2:59 a.m.
edited Jul 27 '15, 6:15 a.m.
After setting up the DM SDK  environnement []

Following the same code example from the link( )

	DmClient client = new DmClient("test", "test", "");
	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", ""] object is getting created but then  "Connection Timeout" Exception occurs. Can anybody tell me what went wrong ? your help would greatly appreciated. :)

Francois-xavier Panaget commented Jul 28 '15, 4:26 a.m.


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?

One answer

permanent link
Donald Nong (14.5k414) | answered Jul 28 '15, 1:11 a.m.
You're supposed to change "" 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

Register or to post your answer.