AnsweredAssumed Answered

Caling a layer in Arcgis Javascript API

Question asked by Adityakumar529 on Oct 13, 2015
Latest reply on Oct 14, 2015 by Adityakumar529

Dear Users,

I need to call a dynamic mapservice.

The parameter provided to me are

         

TitleMap_Service_NameMap_Service_UrlIs_RequiredService_TypePurposeIs_PrintMap_Service_OrderIs_Restricted
2D GSI2D https://mapserver.XXXXXX.com/ArcGIS/rest/services/GXXXX2D_XXXX/XXXX1CachedSeismic Query14

0

 

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

Outcomes