Hi,
I'm having a problem getting the WMSRasterLayer to work with my WMS Webservice that uses SSL. Every ting works fine if I change the https to htttp but then I get warnings from my browser saying certain content is not secure. I looked at the log on my WMS Server and it doesn't look like the https request is being submitted correctly by the map control because it looks very different than the http one. I know that the WMS server is working correctly because I can put the following URL in a browser and the image comes up fine.
maps.MYSERVER.com/lizardtec...ORMAT=JPEG&
Note: I put MYSERVER in the URL because I don't want this URL to be public. I will send the full URL to support@thinkgeo.com so you can test against our server.
Below is the code I'm using in my web page:
Map1.MapUnit = GeographyUnit.DecimalDegree
Map1.MapTools.LoadingImage.Enabled = True
Dim url As String = "maps.MYSERVER.com/lizardtech/iserv/ows"
Dim wms As New WmsRasterLayer(New Uri(url))
wms.ActiveLayerNames.Add("AllZones")
wms.Parameters.Add("version", "1.3.0")
wms.Parameters.Add("Request", "GetMap")
wms.Parameters.Add("SRS", "EPSG:4326")
wms.Parameters.Add("Exceptions", "application/vnd.ogc.se_xml")
Map1.StaticOverlay.Layers.Add(wms)
Dim extent = New RectangleShape(-88.2053, 38.3021, -88.123, 38.2404)
Map1.CurrentExtent = extent
Is there something I need to set to get the WMS working with SSL or is this a bug in the map control?
Thanks!