Skip to main content

Hello ,

i am using Esri feature service reader to read map service

but it does not work with me .

when I click on layer to show them ,it is written that token error ,499 error

i have admin user and keyword but it does not work to access .

could someone advice me ,how could I read map service from ArcGis server ?

under the reader parameters, have you set the username and password?


under the reader parameters, have you set the username and password?

Yes.i did it the correct user for admin and password but it does not work .

 

should I generate token in map services then use it later to log in ?


Yes.i did it the correct user for admin and password but it does not work .

 

should I generate token in map services then use it later to log in ?

You could try using a EsriOnlineTokenGetter to grab a token using your credentials then using the token you received in a FeatureReader to read the Esri ArcGIS Server Feature Service.

image


Reply