[Geoserver-devel] [jira] Created: (GEOS-4498) Configured WMS Service OnlineResource URL is ignored in GetCapabilities

Configured WMS Service OnlineResource URL is ignored in GetCapabilities
-----------------------------------------------------------------------

                 Key: GEOS-4498
                 URL: http://jira.codehaus.org/browse/GEOS-4498
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.1-RC4
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 2.1.0

In the WMS config page it is possible to set a "service" level online resource URL, but it is ignored by the getcaps transformers, both for version 1.1.1 and 1.3.0.
Instead, they build a default onlineResource URL based on the server's address.

This is wrong, as the service onlineResource is meant to "be used to refer to the web site of the service provider", the spec says.

The fix is just to honor the service URL configured by the admin at the WMSAdminPage. If it is not set then we can fall back to the server's base address, but not adding /wms or /ows at the end.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira