Hi Guys,I have a secure service and using the proxy pages suggested here http://forums.esri.com/Thread.asp?c=158&f=2396&t=297001All works OK for the unsecured services on the server I'm trying to access But falls apart when I try access the secured services. I'm getting {"error":{"code":400,"message":"","details":["Unauthorized access"]}} Is there any configuration step I'm missing? This is really daft 'cos it worked well when we last used it for printing...I've placed these esri.config.defaults.io.proxyUrl = "proxy.ashx";esri.config.defaults.io.alwaysUseProxy = true;in my init () and in the proxy I have <serverUrl url="http://MYSERVER/ArcGIS/rest/services/Secure/MYSERVICE/MapServer" matchAll="false" dynamicToken="true" host="gis.MyCOMPANY.org.YYY" //**had http here but no joy userName="someName" password="somePassword"></serverUrl>Anything I'm missing?ThanksdON
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.