Get viewer JNLP
The get viewer JNLP call returns the JNLP used to launch a Viewer. This file can be invoked with the javaws command provided with the Java JRE.
Note that the Accept HTTP header is required. This tells the web server which data format to return.
HTTP method and URI
GET /mvcm-api/automation/viewers/{viewerName}
Accept: application/x-java-jnlp-file
Response body
The response body contains the JNLP in XML text to launch the Viewer. This may be saved to a file that an operator can use to launch the Viewer.
Example request
GET /mvcm-api/automation/viewers/ZOS_Consoles
Accept: application/x-java-jnlp-file
x-api-session: {session id}
Accept: application/x-java-jnlp-file
x-api-session: {session id}
Example response
200 (OK)
<?xml version='1.0' encoding='UTF-8'?>
<jnlp spec='1.0' codebase='https://amicm.example.com:443/ioea/'>
<information>
<title>BMC AMI Console Automation Viewer</title>
<vendor>BMC Software, inc.</vendor>
</information>
<resources>
<!-- Application Resources -->
<j2se version='1.8+' href='http://java.sun.com/products/autodl/j2se' initial-heap-size='128m' max-heap-size='1024m'/>
<jar href='amicm-auto-viewer-4.0.0.jar' main='true'/>
</resources>
<application-desc name='BMC AMI Console Automation Viewer' main-class='com.ioc.ioea.viewer.ViewerWebStart'>
<argument>-url</argument>
<argument>ioea://amicm.example.com/viewers/ZOS_Consoles</argument>
<argument>-showpasswordchange</argument>
<argument>0</argument>
<argument>-passwordchangeport</argument>
<argument>443</argument>
<argument>-codebase</argument>
<argument>https://amicm.example.com/ioea/</argument>
</application-desc>
<update check='background'/>
<security>
<all-permissions/>
</security>
</jnlp>
<?xml version='1.0' encoding='UTF-8'?>
<jnlp spec='1.0' codebase='https://amicm.example.com:443/ioea/'>
<information>
<title>BMC AMI Console Automation Viewer</title>
<vendor>BMC Software, inc.</vendor>
</information>
<resources>
<!-- Application Resources -->
<j2se version='1.8+' href='http://java.sun.com/products/autodl/j2se' initial-heap-size='128m' max-heap-size='1024m'/>
<jar href='amicm-auto-viewer-4.0.0.jar' main='true'/>
</resources>
<application-desc name='BMC AMI Console Automation Viewer' main-class='com.ioc.ioea.viewer.ViewerWebStart'>
<argument>-url</argument>
<argument>ioea://amicm.example.com/viewers/ZOS_Consoles</argument>
<argument>-showpasswordchange</argument>
<argument>0</argument>
<argument>-passwordchangeport</argument>
<argument>443</argument>
<argument>-codebase</argument>
<argument>https://amicm.example.com/ioea/</argument>
</application-desc>
<update check='background'/>
<security>
<all-permissions/>
</security>
</jnlp>
Related topics
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*