Hello,
I am new to this ArcGIS Map. I am developing an application where we are using a user token instead of passing username and password in User Credentials.
UserCredentials creds = new UserCredentials();
creds.setUserToken(map_token, referral);
I am stuck at this point. What do I really have to pass in as a parameter for referral? I tried passing null and empty string as a parameter but I get an error message saying "token or referral cannot be empty string"
When I passed some parameter I am getting "com.esri.core.io.EsriServiceException not found" exception
Can someone help me with this?
Thanks in advance