Hi,
I'm having some problems getting my local WMS Server using SSL to work with Map Suite Web edition. In my troubleshooting I was trying to get the Request URL so I could see if the https was on the request string. But when It ry to use the GetRequestURL method I get an error saying "Object not set to an instance of an object."
Below is the code I'm using:
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")
Dim extent = New RectangleShape(-88.2053, 38.3021, -88.123, 38.2404)
Dim myString As String = wms.GetRequestUrl(extent, 400, 400)
Am I using the GetRequestURL method wrong or is there a bug in it?
Thanks!