I am having trouble getting a secure service to work correctly.
I have a secured map service (added it to the Authenticated Users group in AGS 10.0 Server Manager) and generated a token. I can know navigate to it here:
--http://gis.mstn.govt.nz/ArcGIS/rest/services/Test/MapServer?token=jg7PRrPINRwItQRFtCLKEeNTvJBKbcjhPaGFZnufNqw7QFbN-N_Ou_JkoN1UJvIn--
Which seems all good, however when I try add this into my Flex application I get this error:
Attachment 21382
My config is setup like this:
<layer label="Test" type="dynamic" visible="false" alpha="0.7" token="jg7PRrPINRwItQRFtCLKEeNTvJBKbcjhPaGFZnufNqw7QFbN-N_Ou_JkoN1UJvIn"
url="http://gis.mstn.govt.nz/ArcGIS/rest/services/Cadastral/Test/MapServer" />
Where am I going wrong here?
I have a secured map service (added it to the Authenticated Users group in AGS 10.0 Server Manager) and generated a token. I can know navigate to it here:
--http://gis.mstn.govt.nz/ArcGIS/rest/services/Test/MapServer?token=jg7PRrPINRwItQRFtCLKEeNTvJBKbcjhPaGFZnufNqw7QFbN-N_Ou_JkoN1UJvIn--
Which seems all good, however when I try add this into my Flex application I get this error:
Attachment 21382
My config is setup like this:
<layer label="Test" type="dynamic" visible="false" alpha="0.7" token="jg7PRrPINRwItQRFtCLKEeNTvJBKbcjhPaGFZnufNqw7QFbN-N_Ou_JkoN1UJvIn"
url="http://gis.mstn.govt.nz/ArcGIS/rest/services/Cadastral/Test/MapServer" />
Where am I going wrong here?