Configuring the XML Gateway
The Insight XML Gateway is installed by default. Once the XML Gateway has been installed, it needs to be configured.
Configuring the XML Gateway with a Username and a Connection to a User Manager
The Insight XML Gateway acts like the Insight Java Client. It is configured with a User Manager Address, a Username, a Password, and License-File Directory. By default, these are the only required configuration properties.
- Locate the XML Gateway configuration file (web.xml). The web.xml file is located in the WEB-INF directory of the XML Gateway installation directory.
- Open the web.xml file in your preferred text editor.
- Change the User Manager Address.
- Locate the following lines in the web.xml file:
<param-name>UserServerAddress</param-name>
<param-value>localhost</param-value>
-
- Change "localhost" to match the address of your Insight User Manager.
- Change the username and password.
- Locate the following lines in the web.xml file.
<init-param>
<param-name>username</param-name>
<param-value>test</param-value>
<description>Username for User Managerauthentication.</description>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>test</param-value>
<description>Password for User Managerauthentication.</description>
</init-param>
- Set the username parameter to match a valid username on your User Manager.
- Set the password parameter to match the valid password for the username used above.
- If you have upgraded from a previous version of the XML Gateway, change the ResponseSystemID parameter to http://www.lunaimaging.com/support/dtd/insightXMLGateway/v6.3/insightresponse.dtd.
- Restart Tomcat.
- Run the XML Gateway Tester (for more information on the XML Gateway Tester, please see (Testing the XML Gateway on page ).
Configuring the Simple Search Example Servlet
Insight ships with an example servlet on the Installation CD to help you get started with the XML Gateway. For more information on the simple search example servlet, please see the "utilities" directory on the Installation CD.