ArcGISTiledMapServiceLayer access through a web proxy.

2416
1
05-02-2011 03:23 PM
NickKohler
New Contributor
I am working on a WPF application and am running into issues with 407 Proxy Authentication Required messages when attempting to add an ArcGISTiledMapServiceLayer to the map. I see that there is a credential property on that class, but it does not appear to use it for the proxy. Our application needs to be able to run on a private network that uses a proxy server to filter web requests. I am assuming that the ArcGISTiledMapServiceLayer class is using a WebRequest under the hood to talk to the server. If that is the case, are credentials being set on the proxy being used for the request? Just to be clear, this is not a silverlight web app, rather a standalone WPF application.

I've looked through the forum and haven't seen anything similar to what I am experiencing. Does anybody have any experience with this, or have any input?
0 Kudos
1 Reply
BernardNtiamoah
New Contributor
set the proxy on ArcGISTileMapServicelayer in xaml. I did this in silverlight so I don't know if works for WPF but you can try.

eg ProxyUrl = "http://domain/proxy.ashx"
0 Kudos