Select to view content in your preferred language

could not get the legend rest end point

530
2
03-16-2011 07:45 AM
DeminHu
Deactivated User
Hi,

I have a Dynamice service called TestService., the service map file has 3 layers. I am using ArcGIS server Silverlight API 2.1 and 2.2 (beta). In both version:
I could not get the legend rest end point.

When I open the link  as the following:

http://testServer/arcgis/rest/services/TestService/MapServer/legend
It got the error : invalid URL

If I open the link : http://testServer/arcgis/rest/services/TestService/MapServer
Between  Map Name and Layers:
I only have link: All Layers and Tables, no link for Legend

Thanks in advance for you help !!
0 Kudos
2 Replies
JMcNeil
Deactivated User
I don't think your API version is playing a part in your problems.  I think it might be your version of Server.  I didn't look it up so I'm a little shaky on the details but I think at version 10 the services has to be public and maybe at 10.1 it is totally exposed internally and externally.  Not 100% sure so I would quickly look that up.

J
0 Kudos
DeminHu
Deactivated User
Hi,

You  are  right, I tested in another machine with SP1, it worked. I am not for sure I installed SP1 on the servers which I am working on.

Thank you so much, it helped me or gave me the clue to fixed the problem.
0 Kudos