<?xml version="1.0" encoding="UTF-8"?><Configuration xmlns="http://www.mapinfo.com/midev/service/configuration/wms/v1">
<!--
This file specifies the configuration for the WMS service. It is based on the 
Web Map Service version 1.1.1 specification available from 
http://www.opengeospatial.org/standards/wms.
-->

	<Service>
        <Title>Your Company's WMS Service</Title>
        <Abstract>Your Company's WMS Service</Abstract>
        <KeywordList>
            <Keyword>map</Keyword>
            <Keyword>geographic</Keyword>
            <Keyword>wms</Keyword>
        </KeywordList>
        <OnlineResource>http://WSAR0365.ads01.priv:8080/rest/Spatial/WMS</OnlineResource>
        <ContactInformation>
            <ContactPersonPrimary>
                <ContactPerson>Contact Person</ContactPerson>
                <ContactOrganization>Your Company's Name</ContactOrganization>
            </ContactPersonPrimary>
            <ContactPosition>Contact Person's Role or Title</ContactPosition>
            <ContactAddress>
                <AddressType>Postal</AddressType>
                <Address>Your Company's Address</Address>
                <City>City</City>
                <StateOrProvince>State</StateOrProvince>
                <PostCode>PostCode</PostCode>
                <Country>Country</Country>
            </ContactAddress>
            <ContactVoiceTelephone>1.800.000.0000</ContactVoiceTelephone>
            <ContactElectronicMailAddress>support@yourcompany.com</ContactElectronicMailAddress>
        </ContactInformation>
        <Fees>none</Fees>
        <AccessConstraints>none</AccessConstraints>
        <LogoURLPath>http://www.yourcompany.com/logo.gif</LogoURLPath>
        <DisableGetFeatureInfo>false</DisableGetFeatureInfo>
        <MIMETypes>
            <Format>image/png</Format>
        </MIMETypes>
        <ReturnGeometry>false</ReturnGeometry>
    </Service>


	<!-- 
	Since you can have multiple configurations, the layer list and layer tree 
	has been separated to allow for configuration merging. Thus, the <WMSLayerList> 
	has the list of all available layers that could be provided, while the <WMSLayerTree> 
	defines what layers the server's GetCapabilities response will contain.  Note that
	by doing this, we allow for a central, default configuration to be defined, and
	then for a specific instance of the server, default layers can be exposed or hidden,
	existing layers can be redefined, or new layer definitions can be added.

	The following rules apply when creating a WMSLayerTree:
	* The <Title> element of the layer defined in the WMSLayerTree must match the <Title>
	  element defined in the WMSLayerList. 
	* Each <Title> element must be wrapped in a WMSLayerTree element. 
	* Each <WMSLayerTree> element can contain one or more <WMSLayerTree> elements.
	* There can be only one <WMSLayerTree> at the root.  That root layer can have any number
	  of children, as can any of those children. 
	* If more than one root <WMSLayerTree> is defined in a configuration file, only the first 
	  <WMSLayerTree> will be available through the service.
	* If multiple configuration files have <WMSLayerTrees> defined, the last configuration 
	  file listed in the beans.xml file that has a <WMSLayerTree> will be the one available 
	  through the service.
	  
	For more information on the layer definition, see the WMS specification. 
	-->
	<WMSLayerList>
        <WMSLayer>
            <Name/>
            <Title>Spatial Server WMS</Title>
            <Abstract/>
        </WMSLayer>
        <WMSLayer>
            <Name/>
            <Title>Samples</Title>
            <Abstract/>
        </WMSLayer>
        <WMSLayer>
            <Name/>
            <Title>World Layers</Title>
            <Abstract/>
            <SRSList>
                <SRS>epsg:4326</SRS>
            </SRSList>
        </WMSLayer>
        <WMSLayer>
            <Name>WorldCap</Name>
            <Title>World Capitals</Title>
            <Abstract>World capitals</Abstract>
            <KeywordList>
                <Keyword>World</Keyword>
                <Keyword>Capitals</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:4326</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/WorldcapFeatureLayer</ResourcePath>
            </NamedResourceList>
            <NamedStyleList>
                <NamedStyle>
                    <Name>BlackStarPoint</Name>
                    <Title>Black Star</Title>
                    <Abstract/>
                    <ResourcePath>/Samples/NamedStyles/WorldPointStyle</ResourcePath>
                </NamedStyle>
                <NamedStyle>
                    <Name>RedPinPoint</Name>
                    <Title>Red Pin</Title>
                    <Abstract/>
                    <ResourcePath>/Samples/NamedStyles/PointStylePin</ResourcePath>
                </NamedStyle>
                <NamedStyle>
                    <Name>RedCirclePoint</Name>
                    <Title>Red Circle</Title>
                    <Abstract/>
                    <ResourcePath>/Samples/NamedStyles/PointStyleStar</ResourcePath>
                </NamedStyle>
            </NamedStyleList>
        </WMSLayer>
        <WMSLayer>
            <Name>World</Name>
            <Title>World</Title>
            <Abstract>World countries with attribute data</Abstract>
            <KeywordList>
                <Keyword>World</Keyword>
                <Keyword>Countries</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:4326</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/WorldFeatureLayer</ResourcePath>
            </NamedResourceList>
            <NamedStyleList>
                <NamedStyle>
                    <Name>AreaStyleGreen</Name>
                    <Title>Green Fill</Title>
                    <Abstract/>
                    <ResourcePath>/Samples/NamedStyles/AreaStyleGreen</ResourcePath>
                </NamedStyle>
                <NamedStyle>
                    <Name>AreaStyleBlue</Name>
                    <Title>Blue Fill</Title>
                    <Abstract/>
                    <ResourcePath>/Samples/NamedStyles/AreaStyleBlue</ResourcePath>
                </NamedStyle>
            </NamedStyleList>
        </WMSLayer>
        <WMSLayer>
            <Name>Ocean</Name>
            <Title>Ocean</Title>
            <Abstract>World ocean background</Abstract>
            <KeywordList>
                <Keyword>World</Keyword>
                <Keyword>Ocean</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:4326</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/OceanFeatureLayer</ResourcePath>
            </NamedResourceList>
        </WMSLayer>
        <WMSLayer>
            <Name/>
            <Title>USA Layers</Title>
            <Abstract/>
        </WMSLayer>
        <WMSLayer>
            <Name>USA</Name>
            <Title>USA Map</Title>
            <Abstract>U.S. state boundaries with highways and capitals</Abstract>
            <KeywordList>
                <Keyword>U.S.</Keyword>
                <Keyword>States</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:4267</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/USAFeatureLayer</ResourcePath>
                <ResourcePath>/Samples/NamedLayers/US_HIWAYFeatureLayer</ResourcePath>
                <ResourcePath>/Samples/NamedLayers/USA_CAPSFeatureLayer</ResourcePath>
                <ResourcePath>/Samples/NamedLayers/USALabelLayer</ResourcePath>
            </NamedResourceList>
        </WMSLayer>
        <WMSLayer>
            <Name>USACaps</Name>
            <Title>USA Capitals</Title>
            <Abstract>U.S. state capitals</Abstract>
            <KeywordList>
                <Keyword>U.S.</Keyword>
                <Keyword>State capitals</Keyword>
                <Keyword>Capitals</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:4267</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/USA_CAPSFeatureLayer</ResourcePath>
            </NamedResourceList>
        </WMSLayer>
        <WMSLayer>
            <Name/>
            <Title>UK Layers</Title>
            <Abstract/>
            <SRSList>
                <SRS>epsg:27700</SRS>
            </SRSList>
        </WMSLayer>
        <WMSLayer>
            <Name>UKREGNS</Name>
            <Title>UK Regions</Title>
            <Abstract>U.K. administrative boundaries, NUTS_1</Abstract>
            <KeywordList>
                <Keyword>U.K.</Keyword>
                <Keyword>Regions</Keyword>
                <Keyword>Administrative boundaries</Keyword>
                <Keyword>NUTS_1</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:27700</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/UK_REGNS_FeatureLayer</ResourcePath>
            </NamedResourceList>
            <NamedStyleList>
                <NamedStyle>
                    <Name>AreaStyleRed</Name>
                    <Title>Red Fill</Title>
                    <Abstract/>
                    <ResourcePath>/Samples/NamedStyles/AreaStyleRed</ResourcePath>
                </NamedStyle>
            </NamedStyleList>
        </WMSLayer>
        <WMSLayer>
            <Name>UKCities</Name>
            <Title>UK Cities</Title>
            <Abstract>U.K. cities</Abstract>
            <KeywordList>
                <Keyword>U.K.</Keyword>
                <Keyword>Cities</Keyword>
            </KeywordList>
            <SRSList>
                <SRS>epsg:4231</SRS>
            </SRSList>
            <NamedResourceList>
                <ResourcePath>/Samples/NamedLayers/UKCTY215FeatureLayer</ResourcePath>
            </NamedResourceList>
        </WMSLayer>
    </WMSLayerList>
	<WMSLayerTree>
        <Title>Spatial Server WMS</Title>
        <WMSLayerTree>
            <Title>Samples</Title>
            <WMSLayerTree>
                <Title>World Layers</Title>
                <WMSLayerTree>
                    <Title>World Capitals</Title>
                </WMSLayerTree>
                <WMSLayerTree>
                    <Title>World</Title>
                </WMSLayerTree>
                <WMSLayerTree>
                    <Title>Ocean</Title>
                </WMSLayerTree>
                <WMSLayerTree>
                    <Title>USA Layers</Title>
                    <WMSLayerTree>
                        <Title>USA Map</Title>
                    </WMSLayerTree>
                    <WMSLayerTree>
                        <Title>USA Capitals</Title>
                    </WMSLayerTree>
                </WMSLayerTree>
                <WMSLayerTree>
                    <Title>UK Layers</Title>
                    <WMSLayerTree>
                        <Title>UK Regions</Title>
                    </WMSLayerTree>
                    <WMSLayerTree>
                        <Title>UK Cities</Title>
                    </WMSLayerTree>
                </WMSLayerTree>
            </WMSLayerTree>
        </WMSLayerTree>
    </WMSLayerTree>
</Configuration>
