Problem installing Web Adaptor

484
3
07-16-2012 12:01 PM
GerardoArmendariz
New Contributor III
After successfully installing the Web Adaptor,  I get the following message:

Status: The following GIS servers are registered to your Web Adaptor
MACHINENAME

Last updated on 7/16/2012 12:48:36 PM

You can now use the URL ( http://10.1.3.151/arcgis/rest/services ) for accessing services in the Services Directory.


When I try to access the services directory (without the 6080 port),  I get redirected to the "ArcGIS Server REST API Login" page. 

Any ideas on what I am missing?
0 Kudos
3 Replies
GerardoArmendariz
New Contributor III
OK, turns out that I needed to create a token and use it in my application.  This video is a bit misleading about the Adaptor setup: http://goo.gl/Mv6SC

After going to the "ArcGIS Token Service" interface, creating a token, and adding it to my dynamic map layers and tag-based QueryTasks, I was able to get my app working again under 10.1 (with Web Adaptor enabled).

For some reason, the same token does not seem to work with my QueryTasks create programmatically. I keep getting this message:

RPC Fault faultString="Invalid Token" faultCode="498" faultDetail=""]

Any thoughts?
0 Kudos
GerardoArmendariz
New Contributor III
OK, I solved my own problem.   This was occurring because I had not removed the port number (6080) from the service endpoint.  🙂


For some reason, the same token does not seem to work with my QueryTasks create programmatically. I keep getting this message:

RPC Fault faultString="Invalid Token" faultCode="498" faultDetail=""]

Any thoughts?
0 Kudos
BubbaHey
Occasional Contributor III
Cool, thanks for the info
0 Kudos