Ticket #2558 (closed defect: fixed)
A GetObservation request with an invalid srsname value sent to a SOS 1.0.0 server must return an exception
| Reported by: | nsavard | Owned by: | tomkralidis |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 release |
| Component: | SOS Server | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | OGC,Cite,TEAM,SOS 1.0.0 |
| Cc: | assefa |
Description
An invalid srsname in a GetObservation? request sent to a SOS 1.0.0 server must return an exception. Actually all observations are returned.
The CITE test is: getObservation:core-SOS.GetObservation-RequestInvalidSRSName.1 (s0003)
The request sent is:
URL: http://dev1.lan.mapgears.com/manwe/cgi-bin/mssos100_ogc_cite?
Body:
<GetObservation? xmlns=" http://www.opengis.net/sos/1.0" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ctl="http://www.occamlab.com/ctl" xmlns:parsers="http://www.occamlab.com/te/parsers" xmlns:xows="http://www.opengeospatial.net/ows" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:te="java:com.occamlab.te.TECore" xmlns:sosFunctions="https://cite.opengeospatial.org/sos-1.0.0/src/ctl/functions.xml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:getObservation="https://cite.opengeospatial.org/sos-1.0.0/src/ctl/GetObservation.xml" xmlns:gml="http://www.opengis.net/gml" xmlns:tml="http://www.opengis.net/tml" xmlns:om="http://www.opengis.net/om/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:tep="http://teamengine.sourceforge.net/parsers" service="SOS" srsName="urn:ogc:def:crs:EPSG:9999" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosGetObservation.xsd">
<offering>Water</offering> <observedProperty>WaterQuality?</observedProperty> <responseFormat>text/xml; subtype=om/1.0.0</responseFormat>
</GetObservation>
