When i add the above services to map and get Legend or TOC.....i am able to get icons before Layer Name for the fireLayer but it is showing blank for my Local Service Layers .... I am using proxy.jsp and i provided both service urls in proxy ...
Is that a problem with proxy file or my Local Service...Is there anything more to add in proxy file....
If the layers are version 10 or lower the legend is created using the ArcGIS.com legend service. In order to use the ArcGIS.com legend service your map service needs to be publicly accessible and your application must be able to access ArcGIS.com.