We are using active directory authentication on our arcgis webservices. I'm watching the requests and responses using Fiddler. I notice that when I make a request from one of our services I always get a 401 error response saying "not authorized", then I get a successful 200 response with my data.
So, it looks to me like the arcgis client classes are attempting anonymous requests and if they are challenged by getting a 401 response, then they send another request supplying credentials.
Is there a way to force my requests to use my credentials the first time instead of waiting to get the unauthorized error response?
We're using VPN on mobile devices so chattiness is definitely a performance issue.