26.02.2013 Views

MapInfo Spatial Server Web Map Service - Product Documentation ...

MapInfo Spatial Server Web Map Service - Product Documentation ...

MapInfo Spatial Server Web Map Service - Product Documentation ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Accessing and Modifying the Configuration File<br />

Accessing and Modifying the Configuration File<br />

The named WMS configuration file WMSConfigurationis located in the Configuration directory<br />

under the root repository. For example, a default installation will place the WMS configuration file at http://localhost:8080/Repository<strong>Service</strong>/repository/default/Configuration/WMSConfiguration<br />

To configure the WMS, perform the following:<br />

1. You must be located on the local machine hosting <strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> and the repository.<br />

2. Use a standard <strong>Web</strong>DAV protocol tool to access the repository (e.g., Windows <strong>Web</strong>Folders, DAVExplorer,<br />

etc.) and copy the configuration file from the repository to a directory on your local machine.<br />

The WMS configuration file is located at http://localhost:8080/Repository<strong>Service</strong>/repository/default/Configuration/WMSConfiguration<br />

For examples of using standard <strong>Web</strong>DAV tools, see Accessing the Repository using <strong>Web</strong>DAV<br />

on page 10<br />

3. Make changes to the local WMSConfiguration file.<br />

4. Upload the modified configuration file back to the same location (and name) in the repository using<br />

your <strong>Web</strong>DAV tool.<br />

5. Use the <strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> JMX Console to invoke the new configuration for the service. For<br />

instruction on how to reload the configuration using the JMX Console, see Reload the <strong>Service</strong><br />

Configuration using JMX Console on page 12<br />

Accessing the Repository using <strong>Web</strong>DAV<br />

10<br />

Configuration files are pre-loaded in the repository for each service. These configuration files are located<br />

at http://localhost:8080/Repository<strong>Service</strong>/repository/default/Configuration/.<br />

To configure the services, you must use a <strong>Web</strong>DAV protocol tool to access the JCR repository, copy<br />

the configuration file locally, make changes to the file, copy the configuration file back to the repository,<br />

and reload the configuration using the JMX Console. There are many tools available to accomplish the<br />

<strong>Web</strong>DAV connection tasks. We have provided two examples:<br />

Using <strong>Web</strong>Folders to Access the Repository Resources<br />

To add or modify a resource, you must copy the resource to or from the repository using a <strong>Web</strong>DAV<br />

tool. Using <strong>Web</strong>Folders is an easy way to access the repository and the resources contained in the repository.<br />

Note:<br />

<strong>Web</strong>Folders is for Windows machines only. To access the repository, you must be on the same<br />

machine where <strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> and the repository are installed.<br />

To configure a <strong>Web</strong>Folder:<br />

1. Using the Windows file explore, for the method appropriate for your version of Windows, select <strong>Map</strong><br />

Network Drive...<br />

2. In the pop-up window, click on the link 'sign up for online storage or connect to a<br />

network server' or you may have a link that mentions'Connect to a website...'.<br />

3. Click the Next and select Choose another network location. Click Next.<br />

<strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> 1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!