[CITE-Forum] CITE TESTS FOR SOS v1.0 cannot run with the server that supports both v1.0 and v2.0

宗岩 Rocky rocky at gis.tw
Tue Oct 22 22:42:17 EDT 2013


Hi, Alex,

        The next SOS 1.0.0 version (r8) will include the “AcceptedVersions=1.0.0?into GetCApabilities request for the ‘sos:core-main?test.
           Or you can download SOS 1.0 trunk from SVN to test.
           URL: https://svn.opengeospatial.org/ogc-projects/cite/scripts/sos/1.0.0/trunk/
           Thank you for reporting.


OGC 06-121r3 OWS 1.1.0 P.19
7.3.2 Version negotiation
Version negotiation is performed using the optional AcceptVersions parameter in the GetCapabilities operation request.
Although optional, client software should always include this parameter, to simplify version negotiation.
----------------------------------------------------------------------------------------------------------------------------------
Tsung-Yen Lee (Rocky)
assistant software engineer
GIS Research Center, Feng-Chia University Taiwan
[´y­z: joinFB]<http://www.facebook.com/GIS.FCU>

From: CITE-Forum [mailto:cite-forum-bounces+rocky=gis.tw at lists.opengeospatial.org] On Behalf Of Alexander Birger
Sent: Wednesday, October 23, 2013 1:16 AM
To: cite-forum at lists.opengeospatial.org
Subject: [CITE-Forum] CITE TESTS FOR SOS v1.0 cannot run with the server that supports both v1.0 and v2.0

Hi,

It seems that the CITE tests for SOS v1.0 contain errors: the ‘sos:core-main?and ‘owsTests:ows-OWS.GetCapabilities.1?tests for the SOS v1.0 always fail with the server that supports both v1.0 and v2.0.

It happens because the test requests drops (deliberately or not) the AcceptVersions parameter. Although the “OGC Web Services Common Specification?defines the AcceptVersions parameter as optional, it requires server to “return a service metadata document that is compliant to the highest protocol version that the server supports?if no version negotiation is performed, i.e. the AcceptVersions parameter is omitted. In that case the server always returns the SOS v2.0 document, which immediately causes the test to fail due to schema mismatch.

This failure is absolutely critical because the result of the ‘sos:core-main?test must pass schema validation in order to continue the SOS v1.0 testing. Although there is an option to select the tests to run, there is no way the ‘sos:core-main?test can be excluded.

Is there any way to fix the SOS v1.0 test by either (a) including the “AcceptedVersions=1.0.0?into GetCApabilities request for the ‘sos:core-main?test, or (b) making that test optional?

Thanks,

Alex Birger
Systems Engineer
Skjei Telecom
7777 Leesburg Pike, Suite 315N
Falls Church, VA 22043
Direct:   +1 703 917 9889
Main:    +1 703 917 4077
Fax:       +1 703 917 0098
e-mail: alex.birger at skjeitelecom.com<mailto:alex.birger at skjeitelecom.com>
My availability: http://www.timebridge.com/mytime/alexanderbirger

CONFIDENTIALITY NOTICE: For intended Skjei Telecom recipients only.



-----Disclaimer-----
¥»¶l¥ó§t¦³³{¥Ò¤j¾Ç¦a²z¸ê°T¨t²Î¬ã¨s¤¤¤ß¾÷±K¸ê°T¡B©Î¨üªk«ß«OÅ@¤§¸ê®Æ¡A°ß¦³­ìµo«H¤H«ü©w¤§¦¬«H¤H±o¾\Ū©Î¨Ï¥Î¥»¶l¥ó¤§¤º®e¡C¦p±z¨Ã«D³Q«ü©w¤§¦¬«H¤H¡A½Ð¥ß§Y±N¥»¶l¥ó¤Î©Ò¦³ªþ¥ó¤©¥H§R°£¡F½Ð¤Å´¦ÅS¡BÀx¦s©Î¨Ï¥Î¥»¶l¥ó¤§¥ô¦ó¸ê°T¡A¨Ã½Ð±z¥ß§Y§iª¾­ìµo«H¤Hrocky at gis.tw¥»¶l¥óªº¶Ç»¼¿ù»~¡CÁÂÁ±zªº¦X§@¡C
This e-mail transmission and any attachments contain information from Geographic Information Systems Research Center of Feng Chia University. The information is confidential and/or privileged and intended to be solely for the use of the individuals or entity named in this e-mail transmission. If you are not the intended recipient, be aware that any disclosure, saving or use of the contents of this e-mail transmission and attachments is strictly prohibited. If you have received this email transmission in error, please notify us immediately, and delete the e-mail and attachments. We greatly appreciate your cooperation.
GIS RESEARCH CENTER, FCU http://www.gis.tw .Tel: 886-4-24516669
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20131023/19fac22f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4842 bytes
Desc: image001.jpg
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20131023/19fac22f/attachment-0001.jpg>


More information about the CITE-Forum mailing list