Skip to main content
Solved

How could I read map service by Fme


gogopotter90
Contributor
Forum|alt.badge.img+13

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 ?

Best answer by danminneyatsaf

gogopotter90 wrote:

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

View original
Did this help you find an answer to your question?

3 replies

hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • May 1, 2023

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


gogopotter90
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • May 1, 2023
hkingsbury wrote:

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 ?


danminneyatsaf
Safer
Forum|alt.badge.img+12
gogopotter90 wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings