[Geoserver-devel] [jira] (GEOS-5127) WPS GetCapabilities Request is case sensitive

maurizio created BugGEOS-5127
WPS GetCapabilities Request is case sensitive

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

WPS

Created:

28/May/12 3:48 AM

Description:

WPS1_0_0.java
in
org.geotools.data.wps package
use this method:
protected void initRequest()

{ setProperty(“REQUEST”, “getCapabilities”); }

GetCapabilities must Be Upper case as speciefied in Open geospatial consortium documentation:

6
HTTP/GET with KVP
6.1
General
Req 1
A WCS service implementing this extension shall include the following URN in the Profile element of the ServiceDescription in a GetCapabilities response:
urn:ogc:def:extension:OGC-WCS:2.0:protocol:get
Req 2
Operation responses shall or URL-encode special characters as defined in [RFC 2396].
Example
Use “%3F” to represent a question mark, “?”
Req 3
Keys shall be case insensitive, values shall be case sensitive.
6.2
GetCapabilities
Req 4
The KVP encoding of a WCS GetCapabilities operation request shall be as specified in Table 5 in Subclause 7.2.2 of [OGC 06-121r8], with the exception that values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner.
Example To request a Capabilities document, a client can issue the following minimal GetCapabilities operation request encoded as KVP:
http://hostname:port/path?service=WCS&request=GetCapabilities

Project:

GeoServer

Priority:

MinorMinor

Reporter:

maurizio

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)