Select to view content in your preferred language

ESRI Default Routing Service Usage in WAB

5565
11
Jump to solution
09-18-2015 11:40 AM
DavidColey
MVP Frequent Contributor

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

Tags (1)
0 Kudos
11 Replies
DavidColey
MVP Frequent Contributor

Hi Yue, no this hasn't been resolved for me yet, but I have had to step away from the WAB to reconfigure some of my javascript api apps.  I'm looking to get back to this as soon as I can and will let you what I find

Thanks-

David

0 Kudos
DavidColey
MVP Frequent Contributor

Sorry for delay in this, yes I did resolve the proxy issues, thanks

0 Kudos