Select to view content in your preferred language

Modify headers for Dynamic Map Service in MapView

2401
0
05-05-2016 05:35 PM
VishApte
Esri Contributor

Hi all,

We are developing a runtime application for windows device that will display ArcGISDynamicMapServiceLayer from onsite ArcGIS for Server.

There is a reverse proxy between the runtime app and onsite ArcGIS server. The reverse proxy server needs to authenticate app user using a cookie or token. Runtime application will generate a session cookie at the start up and will pass this cookie in a header of the request. Reverse proxy will authenticate the user and if successful, reverse proxy to ArcGIS Server service behind the firewall.

I cannot see a provision in DotNet SDK to intercept calls made by MapView and add necessary cookie or token in a header. I can see ArcGISHttpClientHandler and ArcGISHttpClient classes but I cannot determine how to plumb this with MapViewer and intercept calls to inject header. This functionality exists in Android SDK, see

HttpRequestListener | ArcGIS Android 10.2.7 API

This must be stock standard requirement for all secured services behind the firewall with reverse proxy between. Am I missing something?

Thanks,

Vish

Tags (2)
0 Kudos
0 Replies