When the WMS Connector creates a Capabilities file, the format is determined by the corresponding Capabilities XSL stylesheet. The stylesheet is where you can make global changes to the Capabilities file that affect all WMS services.
The XSL stylesheets are located in the expanded WAR file's WEB-INF directory. The location of the expanded WAR file directory varies depending on the servlet engine you are using. However, the structure of the expanded WAR file is always the same.
<Application Name>where
The XSL stylesheets for WMS 1.0.0 and 1.1.0 follow the same location hierarchy as WMS 1.1.1.
The following common parameters can be edited in the XSL stylesheet for version 1.1.1. The process for editing the version 1.0.0 and 1.1.0 stylesheets is similar but are not discussed in this document.
The DTD file referenced in the Capabilities file is located on the Internet at the OpenGIS web site. If, for some reason, you are not able to access this DTD, you can change the doctype reference to a URL your site does have access to.
http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd
<xsl:output method="WMT_MS_Capabilities" doctype-system="http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd" version="1.0" encoding="UTF-8" indent="yes"/>
A section is available for filling in contact information.
<ContactInformation>
<ContactOrganization>ESRI</ContactOrganization>
The XSL stylesheet lists png and jpeg formats as supported output formats. You can remove these formats or add an additional format such as gif. ArcIMS will return a requested format even if it is not in this list. The purpose of this list is to inform a requesting client the image formats you guarantee are available.
Note: The image/png format is png 8-bit or png 24-bit depending on what you selected in the WMS Connector Administrator.To update the supported output list:
<Format>image
<Format>image/gif</Format>
When a GetFeatureInfo request is made, the data can be sent back in one of several formats: application/vnd.ogc.wms_xml, text/xml, text/html, or text/plain. See the topic GetFeatureInfo for more information on these output formats.
To update the supported format list:
<GetFeatureInfo>
The SRS list has a short list of common identifiers. You can add or remove identifiers from the list. By default, the list includes the following.
It is recommended to always keep these three identifiers.
To update the SRS list:
Add common projections
<SRS>EPSG:<SRS identifier></SRS>
where <SRS identifier> is the code for a spatial reference system.
For a complete list of identifiers, see About SRS Identifiers.