[mapserver-users] FW: GetCapabilities always returning version 1.3.0

Daniel Morissette dmorissette at mapgears.com
Fri Nov 15 06:41:38 PST 2013


On 13-11-15 9:31 AM, Sowmya Tiramdasu wrote:
> Hi Rahkonen,
>
> Thank you very much for your explanation. I know understand how it is working. But, I am still confused about why it is not working when I make a call with 1.3.0 specifications.
>
> I am getting this error : "msBuildWMSLayerURL(): WMS connection error. Map Server supports only WMS 1.0.0 to 1.1.1 (please verify the VERSION parameter in the connection string)."
>
> But the GetCapabilities returns the default supported version as 1.3.0. Any more suggestions on ideas on why this is happening will be greatly appreciated.
>
> Thanks,
> Sowmya.



You seem to be mixing two things:

1- The error above is returned by the CONNECTIONTYPE WMS code (i.e. 
using MapServer as a WMS client) which is indeed supported only for WMS 
1.0 or 1.1. This error message could definitely be improved to make it 
more obvious that it applies only to CONNECTIONTYPE WMS.

2- The GetCapabilities is MapServer acting as a *server* for other 
remote clients, and in this case 1.3.0 is supported.

I am not sure what you are trying to achieve (I missed the beginning of 
the thread), but you should probably take a few minutes to re-read 
Jukka's explanation in light of the two points above.


-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list