Hi,
I am trying to add legend in Lagendpanel with Secured map services. It works fine when the map service is public,but with credentials it shows no legend text.
Proxy is set for this file and even in network I can see a proxy request for legend.

Has some one encountered a similar problem?
I am using ArcGIS Javascipt 3.x.
Thanks
Aditya