AnsweredAssumed Answered

DotNet Proxy Configuration - Feature service not showing up

Question asked by AdrianaPaese on Aug 11, 2015
Latest reply on Sep 15, 2015 by rsunderman-esristaff

Hello

I have downloaded DotNet Proxy from Github, installed it on server with "Application pool"  4.5

Tested it with the ping command and it is set up ok

I am trying to make secure ArcGIS Server services available to end users without having them use login and passwords

I have added the following lines to the JS code:

 

 

  urlUtils.addProxyRule({

  urlPrefix: "http://myserver/arcgis/rest/services/MyService/FeatureServer/0",

  proxyUrl: "http://myserver/proxy/proxy.ashx"

  });

                       

  urlUtils.addProxyRule({

  urlPrefix: "http://myserver/arcgis/rest/services/MyService/FeatureServer/1",

  proxyUrl: "http://myserver/proxy/proxy.ashx"

  });

 

 

one fore each secured service in the JS app

 

 

and the following lines in the proxy.conf file:

 

 

  <serverUrl url="http://myserver/arcgis/rest/services/MyService/FeatureServer/0" username="username" password="password"

                   matchAll="true"/>

  <serverUrl url="http://myserver/arcgis/rest/services/MyService/FeatureServer/1" username="username" password="password"

                   matchAll="true"/>

                  

                  

                   These two steps have prevented the authentication window from showing up when the application is open. However, the feature service is not showing up either.

                  

                   Could anyone help me with an idea of what is happening?

                  

                   Thank you so much

                   Adriana

Outcomes