[CITE-Forum] OGC_Web Map Service (WMS)_1.3.0_r10 does not send mandatory SERVICE parameter

Sebastian Goerke goerke at lat-lon.de
Tue Nov 4 10:19:13 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Marco,

I tried the productional environment with the WMS 1.3.0 reference
implementation:

http://cite.lat-lon.de/deegree-webservices-3.3.6-2/services/wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0

for the test with the diamond, everything is OK, but after that, There
was only the word NULL displayed.

I rechecked against the CITE beta environment
(http://cite.opengeospatial.org/te2/) and got the same result after
some more tests.

It is very likely, that there are problems with the testing
environment currently on the server (As test runs on beta went well so
far...). I cced Luis.

Coming back to your reported issue:

There is a  somehow "strange" thing about the WMS 1.3.0 which is
important to know about: The service parameter is NOT mandatory for
GetMap and GetFeatureInfo requests! (I was not thinking about that
fact reading your first email, sorry)

Please refer to 7.3.2 GetMap request overview of the WMS 1.3.0
implementation specification.

Following this, your WMS implementation is simply not complying to the
specification.

Best regards

Sebastian


Am 04.11.2014 um 15:52 schrieb Marco Lechner - in medias res GmbH:
> 
> Hi Sebastian,
> 
> 1. I created a QGIS Project using the testdata for OGC 1.3.0
> cite:Autos, ... 2. Then I loged into
> http://cite.opengeospatial.org/teamengine/ 3. Created a session
> testing the WMS using OGC_Web Map Service (WMS)_1.3.0_r10 4. Run
> the test
> 
> -> when the test asks me "Does the image above depict a large
> diamond that fills the frame?" I can not see the image. If i have a
> look at the src="" of the <img>-Tag i see that the test request
> used to fetch the image does not have the mandatory SERVICE
> parameter set. Well, there might be WMS Servers that ignore that
> and return an image anyway (using SERVICE=WMS as fallback), but
> QGIS throws an exception (telling the user about the missing
> mandatory parameter) the test suit should use URLs that are
> correct.
> 
> Or am I missing something here?
> 
> Marco
> 
> 
> Am 04.11.2014 um 15:07 schrieb Sebastian Goerke:
>> Hi Marco,
> 
>> for which testcase does this behaviour occur? There are/ were
>> test cases where parameters are ommitted intentionally.
> 
>> Best regards
> 
>> Sebastian
> 
>> Am 04.11.2014 um 12:36 schrieb Marco Lechner - in medias res
>> GmbH:
>>> When testing my WMS for OGC conformity using the testdataset, I
>>> do not see the "large diamond". But the reason seems to be a
>>> bug in the testengine:
> 
>>> src does not send the mandatory SERVICE parameter: <img
>>> border="1"
>>> 
> src="http://<myip>/cgi-bin/qgis_mapserv.fcgi?MAP=<mymapfile>&VERSION=1.3.0&REQUEST=GetMap&LAYERS=cite%3ABasicPolygons&STYLES=&CRS=CRS:84&BBOX=-1,-1,1,1&WIDTH=300&HEIGHT=300&FORMAT=image%2Fjpeg"
>
> 
> 
>> xmlns:tems="java:com.occamlab.te.web.MonitorServlet"
>>> xmlns:tec="java:com.occamlab.te.TECore"
>>> 
> xmlns:functions="https://cite.opengeospatial.org/wms-1.3.0/src/ctl/functions.xml"
>
> 
> 
>> xmlns:gen="java:com.occamlab.te.Generator"
>>> 
> xmlns:interactive="https://cite.opengeospatial.org/wms-1.3.0/src/ctl/interactive.xml"
>
> 
> 
>> xmlns:ctl="http://www.occamlab.com/ctl"
>>> xmlns:wms="http://www.opengis.net/wms" 
>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" 
>>> xmlns:xlink="http://www.w3.org/1999/xlink" 
>>> xmlns:saxon="http://saxon.sf.net/" 
>>> xmlns:te="http://www.occamlab.com/te">
> 
>>> I guess this is a bug in the r10 of WMS 1.3 testsuite in team 
>>> engine 4.0.5
> 
>>> Marco
> 
> 
> 
>>> _______________________________________________ CITE-Forum
>>> mailing list CITE-Forum at lists.opengeospatial.org 
>>> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> 
> 
>> _______________________________________________ CITE-Forum
>> mailing list CITE-Forum at lists.opengeospatial.org 
>> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> 
> 
> 
> 
> _______________________________________________ CITE-Forum mailing
> list CITE-Forum at lists.opengeospatial.org 
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> 

- -- 
l a t / l o n  GmbH
Aennchenstrasse 19               53177 Bonn, Germany
phone ++49 +228 18496-0          fax ++49 +228 18496-29
http://www.lat-lon.de            http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRY7nEACgkQq1hDh4aJykJr4gCgxrXJGeCJQS405NlyN/bgeOyO
QUYAoKeBkwddMvItxrWFPeuwTcZjYwof
=O6fn
-----END PGP SIGNATURE-----


More information about the CITE-Forum mailing list