Hi,


I can easily repeat the error with GB 2.2.beta 1.  I do not need QGis for 
seeing the error, I can just press WMS 1.1.1 service capabities link. Geoserver 
does not seem to like the GetCapabilities response from the remote server even 
I do not see anything wrong with it.



One issue I can see. The remote server supports only WMS 1.1.0.  However, after 
creating the store Geoserver tries to connect is as WMS 1.3.0.  This is the 
request sent by Geoserver



http://gis.ktimanet.gr/wms/wmsopen/wmsserver.aspx?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS



Funny that the remote server sends back WMS 1.1.0 capabilities. I would have 
believed it should send an error message about unsupported version but I may be 
wrong.



Geoserver sends correct WMS 1.1.0 GetCapabilites if this exact URL is used when 
making the store

http://gis.ktimanet.gr/wms/wmsopen/wmsserver.aspx?service=WMS&version=1.1.0&request=GetCapabilities



However, Geoserver gives still the same error about not beeing able to get 
layer.  But as you noticed, the layer preview works and Geoserver sends valid 
GetMap requests like this one I captured



http://gis.ktimanet.gr/wms/wmsopen/wmsserver.aspx?SERVICE=WMS&LAYERS=KTBASEMAP&FORMAT=image%2Fpng&TRANSPARENT=FALSE&HEIGHT=399&BGCOLOR=0xFFFFFF&REQUEST=GetMap&BBOX=13.2485,27.809783203125,36.8665,46.215216796875&WIDTH=512&STYLES=&SRS=EPSG:4326&VERSION=1.1.0



I would believe that there is not much to correct.  Perhaps there is a parsing 
error with the capabilites document. In addition, Geoserver should be made to 
use correct version also when sending GetCapabilities, even when the base URL 
is given without version. That should not be a big problem because it alreasy 
works correctly with GetMaps.



-Jukka Rahkonen-





________________________________
Nikolaos Theodosakis wrote:


Hello!
I am trying to add this WMS Service 
(http://gis.ktimanet.gr/wms/wmsopen/wmsserver.aspx) to geoserver wms store but 
i have no luck.
The layer is loaded fine in Layer Preview but when i connect with QGIS there is 
an error.
Please see the attached log.
I have to mention that if i use other WMS service there is no error.

Is there any solution? Is it a bug?
Thanks!

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to