Issue with Loading Dynmic KML on ESRI base map

780
6
06-13-2013 05:31 AM
NiladriBanerjee
New Contributor
Hi All,

I am having one issue of loading Dynamic KML on ESRI online base maps.The kML which I am using its in Public IP and there is no issue with the KML as because its loading fine in Google Earth, ArcGIS.com and other KML Viewer. However when I am trying load the KML in  "ESRI_StreetMap_World_2D/MapServer" base map layer in my application  it is throwing the error and nothing is coming up.

FYI,

1.When I am not loading the KML ,the "ESRI_StreetMap_World_2D/MapServer" is loading fine.

2. MY application is developed in silver light and I am using the proxy url http://serverapps.esri.com/SilverlightDemos/ProxyPage/proxy.ashx as given in the following example

http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client.Toolkit.DataSources~ESRI.ArcG...

with using all supporting dll.

3.The same code was running fine till December'2012 and I was able to load the KML on the base map layer, but after that I am facing this issue. So I am wondering if there is an issue with this http://serverapps.esri.com/SilverlightDemos/ProxyPage/proxy.ashx url or not, becoz if I copy the URL in the browser it shows some server error.

Any help concerning this will be highly appreciated! Thank you for your time.

Thanks & Regards,
Niladri Banerjee
Sr.Software Engineer
PointCross Inc
0 Kudos
6 Replies
DominiqueBroux
Esri Frequent Contributor
The old proxy  http://serverapps.esri.com/SilverlightDemos/ProxyPage/proxy.ashx is off.
The interactive SDK is now using this proxy: http://servicesbeta3.esri.com/SilverlightDemos/ProxyPage/proxy.ashx

We can use it for test purpose but for production you should set your own proxy.
0 Kudos
NiladriBanerjee
New Contributor
Hi Dbroux,

Thank you for your reply. I would like to let you know that when I am using the new proxy i.e http://servicesbeta3.esri.com/SilverlightDemos/ProxyPage/proxy.ashx I am getting response from the server with no error.However still KML is not plotting on the base-map.For your reference I have attached a sample kml (test2.zip) which was dynamically generated.

Thank you for your time.

Thanks & Regards,
Niladri
0 Kudos
NiladriBanerjee
New Contributor
FYI, the dynamic URL of that KML

http://seismic.blr.pointcross.com/admin/test2.kml

Thanks & Regards,
Niladri
0 Kudos
NiladriBanerjee
New Contributor
Hi Dominique,

I would like to let you know that the issue of plotting dynamic kml on ESRI base map is resolved. There was an issue with our application that's why it  KML was not plotting  on the base map using the new test url "http://servicesbeta3.esri.com/Silver...age/proxy.ashx".

Thanks much for your help.


Another thing I would like to know for setting own proxy do we need to have online premium service account or it is free of cost?

Thanks & Regards,
Niladri
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Great you got this working:)

Another thing I would like to know for setting own proxy do we need to have online premium service account or it is free of cost?

The proxy code sample is free. Then to access to the services, the proxy doesn't change anything, the cost is only depending on the underlying services. So it's free if you access public KML files.
0 Kudos
NiladriBanerjee
New Contributor
Thanks a lot for your help! 🙂

Regards,
Niladri
0 Kudos