[Geoserver-devel] [JIRA] (GEOS-7615) WMS 1.3.0 tripping up on REQUEST=Capabilities vs REQUEST=GetCapabilities

Jody Garnett [Administrator] created an issue

GeoServer / BugGEOS-7615

WMS 1.3.0 tripping up on REQUEST=Capabilities vs REQUEST=GetCapabilities

Issue Type:

BugBug

Affects Versions:

2.7.4, 2.9.0

Assignee:

Unassigned

Components:

WMS

Created:

30/Jun/16 9:51 PM

Environment:

Tomcat, Windows Server 2012

Priority:

MediumMedium

Reporter:

Jody Garnett [Administrator]

WMS Version negotiation is producing an unexpected result for the following request:

This request is produced by the Cadcorp’s SIS software, which should be subject to version negotiation as per the WMS specification (resulting in a WMS 1.3.0 document).

The resulting filename is getcapabilities_1.3.0.xml but the contents are a WMS 1.1.1 capabilities document:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd">
<WMT_MS_Capabilities version="1.1.1" updateSequence="152">
  <Service>
    <Name>OGC:WMS</Name>
    <Title>GeoServer Web Map Service</Title>
    <Abstract>A compliant implementation of WMS plus most of the SLD extension (dynamic styling). Can also generate PDF, SVG, KML, GeoRSS</Abstract>
    <KeywordList>
    ...

In debugging I have found the following operations listed:

  • GetCapabilities, Capabilities, GetMap, Map, DescribeLayer, GetFeatureInfo, GetLegendGraphic, reflect, kml, animate

This kind of matches the applicationContext.xml definition:

<!-- wms service + descriptor -->
<bean id="wmsServiceTarget" class="org.geoserver.wms.DefaultWebMapService" lazy-init="false">
      <constructor-arg ref="wms"/>
      <property name="getCapabilities" ref="wmsGetCapabilities"/>
      <property name="describeLayer" ref="wmsDescribeLayer"/>
      <property name="getMap" ref="wmsGetMap"/>
      <property name="getFeatureInfo" ref="wmsGetFeatureInfo"/>
      <property name="getLegendGraphic" ref="wmsGetLegendGraphic"/>
      <property name="getStyles" ref="wmsGetStyles"/>
</bean>

But I cannot see explicitly where capabilities is registered, however the request is arriving at **DefaultWebMapServices.capabilities( GetCapabilitiesRequest request) ** method during execution.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.110.0#100004-sha1:4011b0e)

Atlassian logo