Select to view content in your preferred language

Help me Please! ArcMap can't open WMS from arcgis server

4163
10
09-04-2016 03:53 AM
supermanbatman
New Contributor II

i'm a gis beginner. i create wms service. and i set user & role to accessible. (user1)

when i open wms in arc map it's error "authentication token required"

error authen

i try read help document. use token

http://localhost:6080/arcgis/services/test_mapservice/MyMapService1/MapServer/WMSServer?token= 6o3bne5bR72Rix3emqUZm7jw8B9g4x4wzYXglgdsn4HzEUGtYOISvHib3ZpzBKgThtKtl_ormeoSU9VBfHM8QK-rNlR5BHSz2xTjdLUpKKETA2YN6ooP6rZW94fFT0CgIyiDG3e5CnFqzLfsxoMX-wWH0jm4VctU6M7XbKX9gmU.

but it's still error (can't access  wms) how to remove token authentication.

Is it possible to turn off the token. To use user:password account only

thank you, everyone

Tags (2)
0 Kudos
10 Replies
FC_Basson
MVP Regular Contributor

Yes, it works if you add an additional "token" parameter as part of the WMS parameters.  Make sure to obtain the token from the correct endpoint (AGOL, Portal or Server).  For ArcGIS Online or Portal, this is https://www.arcgis.com/sharing/rest or similar to https://www.example.com/portal/sharing/rest. For ArcGIS Server this is similar to https://www.example.com/arcgis/rest/services.

0 Kudos