Opened 16 years ago
Closed 16 years ago
#2496 closed defect (invalid)
"observedProperty" is not advertized in the capabilities response of a GetCapabilities request to a SOS 1.0.0 server
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
The capabilities response of a GetCapabilities request to a SOS 1.0.0 server does not advertize the "observedProperty".
This prevent the OGC CITE test to run since the capabilities response does not validate against the http://schemas.opengis.net/sos/1.0.0/sosGetCapabilities.xsd schema.
The "observedProperty" parameters are set in the map file as follow:
Attachments (1)
Change History (16)
comment:1 by , 16 years ago
follow-up: 6 comment:2 by , 16 years ago
Owner: | changed from | to
---|
Norm: can you list:
- the assertion/rule as per CITE
- the URL / GetCapabilities request you used for the tests
If you put forth sos.map to power the SOS for these tests, we do advertise an observedProperty. Testing the GetCapabilities response in XMLSpy 2008 results in valid XML.
comment:3 by , 16 years ago
Cc: | removed |
---|
follow-up: 5 comment:4 by , 16 years ago
Norm: I see you set Version to 5.0. Is it possible to perform these tests with svn trunk?
comment:5 by , 16 years ago
Replying to tomkralidis:
Norm: I see you set Version to 5.0. Is it possible to perform these tests with svn trunk?
Tom: It was with svn trunk. Sorry.
comment:6 by , 16 years ago
Replying to tomkralidis:
Norm: can you list:
- the assertion/rule as per CITE
There is no assertion at all I think this is the preliminary tests but you can check by going to http://cite.geoenterpriselab.com/teamengine/viewSessions.jsp
and use the usual username and password.
- the URL / GetCapabilities request you used for the tests
If you put forth sos.map to power the SOS for these tests, we do advertise an observedProperty. Testing the GetCapabilities response in XMLSpy 2008 results in valid XML.
I didn't see it in the capabilities response but I may have done a mistake in the map file. I only changed the onlineresource metadata if I remember well of your msautotest map file.
I did validate with XMLSpy as well but not the same version though.
follow-up: 8 comment:7 by , 16 years ago
Very wierd. What do you see in msautotest/wxs/expected/sos_cap.xml? That's esentially the same thing, i.e. the output of, in sos.map:
# RUN_PARMS: sos_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetCapabilities" > [RESULT_DEVERSION]
comment:8 by , 16 years ago
Replying to tomkralidis:
Very wierd. What do you see in msautotest/wxs/expected/sos_cap.xml? That's esentially the same thing, i.e. the output of, in sos.map:
# RUN_PARMS: sos_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetCapabilities" > [RESULT_DEVERSION]
Tom: There must be a difference somewhere but I cannot see it. I added a symbolic link that points out to the map file I'm using for the CITE tests and executed the following command, then I can see the observedProperty tag. I'm using the same MS version in both cases. Any idea?
mapserv QUERY_STRING="map=ms_ogc_cite_sos100.map&service=SOS&version=1.0.0&request=GetCapabilities" > sos_cap.xml
follow-up: 12 comment:11 by , 16 years ago
Norm: As well, on your mapfile, you have to alter, in LAYER=obs:
DATA "./data/obs.shp" to DATA "../data/obs.shp"
Can you svn up, fix this, and test again?
comment:12 by , 16 years ago
Replying to tomkralidis:
Norm: As well, on your mapfile, you have to alter, in LAYER=obs:
DATA "./data/obs.shp" to DATA "../data/obs.shp"
Tom: This fixed the problem. Thanks.
Can you svn up, fix this, and test again?
I'll update anyway.
comment:13 by , 16 years ago
Version: | 5.0 → svn-trunk (development) |
---|
comment:15 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I forgot to add the parameters: