Opened 13 years ago

#3103 new defect

GetObservation request sent to a SOS 1.0.0 server with a procedure specified as a URI returns an exception

Reported by: nsavard Owned by: assefa
Priority: normal Milestone:
Component: SOS Server Version: 5.4
Severity: normal Keywords: ogc, cite, test, sos, 1.0.0, getobservation
Cc: tomkralidis, assefa

Description

The SOS 1.0.0 server only seems to accept a GetObservation request made of a procedure specified as an id, but the schema allows the use of an URI.

OGC test on http://cite.opengeospatial.org/te2/ page: Test getObservation:core-SOS.GetObservation-ResponseMatchingProcedureData.1

GetObservation schema showing the definition of the procedure element: <element name="procedure" type="anyURI" minOccurs="0" maxOccurs="unbounded"></element>

request:

http://dev1.lan.mapgears.com/manwe/cgi-bin/mssos100_ogc_cite?

<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:getObservation="https://cite.opengeospatial.org/sos-1.0.0/src/ctl/GetObservation.xml"
                xmlns:gml="http://www.opengis.net/gml"
                xmlns:html="http://www.w3.org/1999/xhtml"
                xmlns:om="http://www.opengis.net/om/1.0"
                xmlns:ows="http://www.opengis.net/ows/1.1"
                xmlns:parsers="http://www.occamlab.com/te/parsers"
                xmlns:saxon="http://saxon.sf.net/"
                xmlns:sos="http://www.opengis.net/sos/1.0"
                xmlns:sosFunctions="https://cite.opengeospatial.org/sos-1.0.0/src/ctl/functions.xml"
                xmlns:te="http://www.occamlab.com/te"
                xmlns:tec="java:com.occamlab.te.TECore"
                xmlns:tep="http://teamengine.sourceforge.net/parsers"
                xmlns:tml="http://www.opengis.net/tml"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xlink="http://www.w3.org/1999/xlink"
                xmlns:xows="http://www.opengeospatial.net/ows"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                service="SOS"
                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>
   <procedure>urn:ogc:def:procedure:35</procedure>
   <observedProperty>WaterQuality</observedProperty>
   <responseFormat>text/xml; subtype="om/1.0.0"</responseFormat>
</GetObservation>

Change History (0)

Note: See TracTickets for help on using tickets.