Dear Users,
I need to call a dynamic mapservice.
The parameter provided to me are
How can I add the mapservice to my application?
If i add it with new esri.layers.ArcGISDynamicMapServiceLayer(layer url);
I get the following error. 401 Unauthorized
{"currentVersion":10.2,"fullVersion":"10.2.0","soapUrl":"https://mapserver.eXXXXXXX.com/arcgis/services","secureSoapUrl":null,"authInfo":{"isTokenBasedSecurity":false}}
Thanks in advance for the help.
Aditya kumar