Trouble Connecting to RAM Repository via Java Client API
My RAM repository is located on a secure DOD server and I can access the RAM web service at https://server/ram.ws. However, the extensions page lists my repository URL as http://server:9080/ram.ws. I'm trying to use the RAM client API to connect to the repository via a Java program using the following code:
When I execute the code, I get a runtime exception stating that I'm using the wrong repository and that I should be using the repository listed on the extensions page, http://server:9080/ram.ws, which is incorrect. In fact, none of the links on the extensions page work. I have to manually type the link into the browser and change the protocol to https and remove the port number in order to download anything from the extensions page. Is there some configuration file that I need to change to make the links on the extensions page point to the correct repository and get the RAMSession object to connect to the correct repository?
|
Accepted answer
You need to log in on the web interface with the administrator account and navigate to Administration -> Configuration. You will see settings for the web server path and web services path. These should be set to https://server/ram and https://server/ram.ws to resolve the issues you are seeing. There's also a setting for the help path on that page that you may need to correct.
Chris Lattanzi selected this answer as the correct answer
|
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.