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)

sos-1.0.0.zip (175.7 KB ) - added by nsavard 16 years ago.
Zip of SOS 1.0.0 set up

Download all attachments as: .zip

Change History (16)

comment:1 by nsavard, 16 years ago

I forgot to add the parameters:

"sos_observedproperty_id" "WaterQuality" "sos_observedproperty_name" "WaterQuality"

comment:2 by tomkralidis, 16 years ago

Owner: changed from mapserverbugs to tomkralidis

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 tomkralidis, 16 years ago

Cc: tomkralidis removed

comment:4 by tomkralidis, 16 years ago

Norm: I see you set Version to 5.0. Is it possible to perform these tests with svn trunk?

in reply to:  4 comment:5 by nsavard, 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.

in reply to:  2 comment:6 by nsavard, 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

http://dev1.lan.mapgears.com/manwe/cgi-bin/mssos100_ogc_cite?service=sos&version=1.0.0&request=getcapabilities

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.

comment:7 by tomkralidis, 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]

in reply to:  7 comment:8 by nsavard, 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

by nsavard, 16 years ago

Attachment: sos-1.0.0.zip added

Zip of SOS 1.0.0 set up

comment:9 by nsavard, 16 years ago

I attached the SOS 1.0.0 set up.

comment:10 by tomkralidis, 16 years ago

Norm: do an svn up on your msautotest?

comment:11 by tomkralidis, 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?

in reply to:  11 comment:12 by nsavard, 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 tomkralidis, 16 years ago

Version: 5.0svn-trunk (development)

comment:14 by nsavard, 16 years ago

Tom you can close this bug as invalid.

comment:15 by tomkralidis, 16 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.