AnsweredAssumed Answered

ESRI Default Routing Service Usage in WAB

Question asked by dcoley on Sep 18, 2015
Latest reply on Jun 29, 2016 by dcoley

I know this question has been all over the place but I just can't seem to find a good production deploy example.  I've got my proxy correctly configured with the esri routing service and esri geocode service. 

 

My proxy on my production IIS web server has been added and converted to an .NET4.0 integated app pool. I have tested the sevices.arcgisonline.com access redirect and it seems to be working fine:

 

    <serverUrls>
        <serverUrl url="https://services.arcgisonline.com"
                   matchAll="true"/>
  <serverUrl url="https://traffic.arcgis.com" username="dcoley_sarco" password="xxxx"
                   matchAll="true"/>
  <serverUrl url="https://route.arcgis.com" username="dcoley_sarco" password="xxxx"
                   matchAll="true"/>

I have assigned my appID and added my proxy url to my web app config.json:

 

"httpProxy": {
        "useProxy": true,
        "alwaysUseProxy": false,
        "url": "https://ags2.scgov.net/proxy/proxy.ashx",
        "rules": []
    },

but I still can't seem to access the route service from the directions widget without having to provide login credentials. 

 

What am I missing?  Do I need to add the route service to my items in ArcGIS Online?  Do I need to add more info in the rules array?

 

Thanks

David

Outcomes