none
Bing Maps 6.3 with SSL doesn't use SSL to parse XML? RRS feed

  • Question

  • I have a map importing XML using SSL - while the code is working, it's breaking browser SSL support because apparently Bing is calling a URL to parse the XML using http, not https: - wondering if this is a known issue, or could be fixed? This is for an important project involving stakeholders inside Microsoft.

    Detailed error from Chrome (IE just says site blocked from displaying content with certificate errors):

    The page at https://oururl ran insecure content from http://www.bing.com/maps/GeoCommunity.aspx?token=AjDrRs5c5X14jrqZVr4pkdSmA5wuKtTs2khjEOoPud0J9DdADA2H71WtKGzVYqkH&mapguid=1334668565466&action=importcol&saveimport=v&cid=msftve_1001&mapurl=https%3a%2f%2fourvalidxmlurl&rim=VEMap._GetMapFromGUID('1334668565466')._lm.RetrieveImportedCallback&rimargs='msftve_1001'&mkt=en-us&maxitems=200&.

    Here's the code:

    <script type="text/javascript" src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3&s=1"></script> <script type="text/javascript"> var map = null; function GetMap() { map = new VEMap('myMap'); map.SetCredentials("AjDrRs5c5X14jrqZVr4pkdSmA5wuKtTs2khjEOoPud0J9DdADA2H71WtKGzVYqkH"); map.LoadMap(); var l = new VEShapeLayer(); var url = 'https://validxmlurl'; var veLayerSpec = new VEShapeSourceSpecification(VEDataType.ImportXML, url, l); map.ImportShapeLayerData(veLayerSpec, null, 1); } </script>



    Tuesday, April 17, 2012 5:18 PM

Answers

  • SSL is not supported for XML file parsing. This was something that was raised on the forums a number of times before.

    http://rbrundritt.wordpress.com


    Tuesday, April 17, 2012 5:44 PM