Secure Services and Workflows
I have just enabled security on my services in ArcGIS Server and now my workflows are failing. How can I give access to my workflows to access my secure services?
Stephanie
-
You will have to supply a token in the workflow. For example, in the QueryTask tool there's a token field where you can enter a token. I've also read you can set up a proxy page to handle authentication, but I haven't tried that yet.
Latitude has mentioned in a different thread that they're working on a GenerateToken activity that will allow you to create tokens on the fly.
Scroll to the bottom of this thread to see the message from Ryan: https://support.geocortex.com/Forums/Thread.aspx?pageid=0&mid=2&ItemID=20&thread=45986&postid=132914
Steve
0 -
I generated a token for the service and copied it into the token box. My workflow still fails. Is there special syntax that must accompany the token or can it just go in? We do not have HTTPS at the moment as we are developing on a test server. Does this hinder us from using the token in workflow?
Stephanie
0 -
I didn't have to do anything special with the token. Just copied and pasted.
Does the workflow also fail in the simulator?
0 -
If you are running GeoCortex and ArcGIS Server on the same machine, be sure to supply your IP Address (e.g. 192.168.10.100), not your Web Application URL (e.g. http://mymapserver.mydomain.com) to generate the token.
0 -
I am getting an "Aborted exception: Invalid token" error in my workflow, below are my setup:
ArcGIS Server and Geocortex are installed on separate machine.
ArcGIS Server: 10.02 Geocortex Essentials 3.7 Silverlight Viewer 1.4 Expiration 1 IP Address [IP Address Geocortex Server] Referrer "http://[Geocortex Server machine name]/Geocortex/Essentials/REST/sites" Token Service Url "http://[ArcGIS Server machine name]/ArcGIS/tokens"In my workflow, I have added the Generate Token activity using the following parameter:
Expiration 1 IP Address [IP Address Geocortex Server] Referrer "http://[Geocortex Server machine name]/Geocortex/Essentials/REST/sites" Token Service Url "http://[ArcGIS Server machine name]/ArcGIS/tokens"Can anyone tell me what I am doing wrong?
0
Please sign in to leave a comment.
Comments
5 comments