Solved! Go to Solution.
anything else i can test in the meantime?
anything else i can test in the meantime?
{ "currentVersion": 10.03, "soapUrl": <snip> "secureSoapUrl": <snip> "authInfo": {"isTokenBasedSecurity": false} }
What kind of security are you using? I was assuming you were using token based but /ArcGIS/info says that's not enabled: http://www.mymanatee.org/arcgis/rest/info?f=pjson{ "currentVersion": 10.03, "soapUrl": <snip> "secureSoapUrl": <snip> "authInfo": {"isTokenBasedSecurity": false} }
yes its token based, it is behind a web application firewall (modproxy).
arcgis/rest/info does not resolve to the server that has the security on it. We only allow access to the sub folder.
var serverInfo = new esri.ServerInfo(); serverInfo.server = 'http://sampleserver3.arcgisonline.com'; serverInfo.tokenServiceUrl = 'http://sampleserver3.arcgisonline.com/arcgis/tokens/generateToken'; esri.id.registerServers([serverInfo]);
It might be worth testing setting the tokenServiceUrl. You can do this using the following code:var serverInfo = new esri.ServerInfo(); serverInfo.server = 'http://sampleserver3.arcgisonline.com'; serverInfo.tokenServiceUrl = 'http://sampleserver3.arcgisonline.com/arcgis/tokens/generateToken'; esri.id.registerServers([serverInfo]);