<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  &amp;quot; No 'Access-Control-Allow-Origin' header is pre in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392466#M36223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanoop,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The JS Sample code works using the world route service due to the fact that it is providing credential using the proxy service that is referenced in the code. When you move this code to your machine you are likely not setting up a proxy and/or providing proper AGOL credentials for consuming the route service thus your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You need to spend some time reading about how to setup and configure the esri proxy for consuming the esri world route service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/resource-proxy#proxy-configuration-settings" title="https://github.com/Esri/resource-proxy#proxy-configuration-settings"&gt;GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/" title="https://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/"&gt;Setting up a Proxy | Support Services Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2016 13:59:13 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-11-21T13:59:13Z</dc:date>
    <item>
      <title>I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is present</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392465#M36222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following url to generate route task .&amp;nbsp;&lt;A href="https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Route"&gt;https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Route&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the sample URL, I have tried this URL also &amp;nbsp;&lt;A href="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the same error with both URL. The code that I am following is same as the one mentioned in the sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/routetask_find_route.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/routetask_find_route.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what am I doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 12:20:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392465#M36222</guid>
      <dc:creator>SanoopSashindran</dc:creator>
      <dc:date>2016-11-21T12:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392466#M36223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanoop,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The JS Sample code works using the world route service due to the fact that it is providing credential using the proxy service that is referenced in the code. When you move this code to your machine you are likely not setting up a proxy and/or providing proper AGOL credentials for consuming the route service thus your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You need to spend some time reading about how to setup and configure the esri proxy for consuming the esri world route service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/resource-proxy#proxy-configuration-settings" title="https://github.com/Esri/resource-proxy#proxy-configuration-settings"&gt;GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/" title="https://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/"&gt;Setting up a Proxy | Support Services Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 13:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392466#M36223</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-21T13:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392467#M36224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. I have followed the instructions to setup a proxy using resource-proxy. I followed the instructions given in the Readme.md file and got successful response back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I add the proxy URL to the sample project then i get following response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;{"error": {"code": 403,"details": ["Proxy has not been set up for this URL. Make sure there is a serverUrl in the configuration file that matches: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Froute.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FRoute%2FNAServer%2FRoute_World%2Fsolve%3Ff%3Djson%26returnDirections%3Dfalse%26returnRoutes%3Dtrue%26returnZ%3Dtrue%26returnStops%3Dfalse%26returnBarriers%3Dfalse%26returnPolygonBarriers%3Dfalse%26returnPolylineBarriers%3Dfalse%26outSR%3D102100%26outputLines%3DesriNAOutputLineTrueShape%26travelMode%3Dnull%26stops%3D%257B%2522type%2522%253A%2522features%2522%252C%2522features%2522%253A%255B%257B%2522geometry%2522%253A%257B%2522x%2522%253A8112572.841533409%252C%2522y%2522%253A2167814.317851392%252C%2522spatialReference%2522%253A%257B%2522wkid%2522%253A102100%252C%2522latestWkid%2522%253A3857%257D%257D%257D%252C%257B%2522geometry%2522%253A%257B%2522x%2522%253A8113814.943243042%252C%2522y%2522%253A2167126.384596826%252C%2522spatialReference%2522%253A%257B%2522wkid%2522%253A102100%252C%2522latestWkid%2522%253A3857%257D%257D%257D%255D%252C%2522doNotLocateOnRestrictedElements%2522%253Atrue%257D%26callback%3Ddojo.io.script.jsonp_dojoIoScript1._jsonpCallback" rel="nofollow" target="_blank"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?f=json&amp;amp;returnDirections=false&amp;amp;returnRoutes=true&amp;amp;returnZ=true&amp;amp;returnStops=false&amp;amp;returnBarriers=false&amp;amp;returnPolygonBarriers=false&amp;amp;returnPolylineBarriers=false&amp;amp;outSR=102100&amp;amp;outputLines=esriNAOutputLineTrueShape&amp;amp;travelMode=null&amp;amp;stops=%7B%22type%22%3A%22features%22%2C%22features%22%3A%5B%7B%22geometry%22%3A%7B%22x%22%3A8112572.841533409%2C%22y%22%3A2167814.317851392%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%7D%2C%7B%22geometry%22%3A%7B%22x%22%3A8113814.943243042%2C%22y%22%3A2167126.384596826%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%7D%5D%2C%22doNotLocateOnRestrictedElements%22%3Atrue%7D&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback&lt;/A&gt;&lt;SPAN&gt;"], "message": "Proxy has not been set up for this URL."}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the proxy.config file there is a serverUrl section:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN&gt;&amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; matchAll="true"/&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am guessing we need to change the server url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my new service url&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Froute.arcgis.com" rel="nofollow" target="_blank"&gt;http://route.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; clientId="flVGYIC8QSZMWiAN"&lt;BR /&gt; clientSecret="e7f8528d6bce4dd38c0af88355ca7ee1"&lt;BR /&gt; rateLimit="600"&lt;BR /&gt; rateLimitPeriod="60"&lt;BR /&gt; matchAll="false"&amp;gt;&lt;BR /&gt; &amp;lt;/serverUrl&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please guide me if I am doing anything wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 08:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392467#M36224</guid>
      <dc:creator>SanoopSashindran</dc:creator>
      <dc:date>2016-11-22T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392468#M36225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanoop,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The Setting up a Proxy link I provided above is pretty clear on what you need to add to the proxy.config for enabling the route Step 11 and 12 (no need for me to re-write it).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 13:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392468#M36225</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-22T13:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392469#M36226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;i am using ionic 3 mobile platform and i'm getting same error when click ERROR&amp;nbsp;message&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;{"error": {"code": 403,"details": ["Proxy has not been set up for this URL. Make sure there is a serverUrl in the configuration file that matches: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Froute.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FRoute%2FNAServer%2FRoute_World%2Fsolve%3Ff%3Djson%26returnDirections%3Dfalse%26returnRoutes%3Dtrue%26returnZ%3Dtrue%26returnStops%3Dfalse%26returnBarriers%3Dfalse%26returnPolygonBarriers%3Dfalse%26returnPolylineBarriers%3Dfalse%26outSR%3D3857%26outputLines%3DesriNAOutputLineTrueShape%26stops%3D%257B%2522type%2522%253A%2522features%2522%252C%2522features%2522%253A%255B%257B%2522geometry%2522%253A%257B%2522spatialReference%2522%253A%257B%2522latestWkid%2522%253A3857%252C%2522wkid%2522%253A102100%257D%252C%2522x%2522%253A8125891.5041974485%252C%2522y%2522%253A2163042.270023918%257D%252C%2522attributes%2522%253A%257B%257D%257D%252C%257B%2522geometry%2522%253A%257B%2522spatialReference%2522%253A%257B%2522latestWkid%2522%253A3857%252C%2522wkid%2522%253A102100%257D%252C%2522x%2522%253A8126497.812559034%252C%2522y%2522%253A2162430.1766333366%257D%252C%2522attributes%2522%253A%257B%257D%257D%252C%257B%2522geometry%2522%253A%257B%2522spatialReference%2522%253A%257B%2522latestWkid%2522%253A3857%252C%2522wkid%2522%253A102100%257D%252C%2522x%2522%253A8126476.023267714%252C%2522y%2522%253A2162869.0452701817%257D%252C%2522attributes%2522%253A%257B%257D%257D%255D%252C%2522doNotLocateOnRestrictedElements%2522%253Atrue%257D" rel="nofollow" target="_blank"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?f=json&amp;amp;returnDirections=false&amp;amp;returnRoutes=true&amp;amp;returnZ=true&amp;amp;returnStops=false&amp;amp;returnBarriers=false&amp;amp;returnPolygonBarriers=false&amp;amp;returnPolylineBarriers=false&amp;amp;outSR=3857&amp;amp;outputLines=esriNAOutputLineTrueShape&amp;amp;stops=%7B%22type%22%3A%22features%22%2C%22features%22%3A%5B%7B%22geometry%22%3A%7B%22spatialReference%22%3A%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D%2C%22x%22%3A8125891.5041974485%2C%22y%22%3A2163042.270023918%7D%2C%22attributes%22%3A%7B%7D%7D%2C%7B%22geometry%22%3A%7B%22spatialReference%22%3A%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D%2C%22x%22%3A8126497.812559034%2C%22y%22%3A2162430.1766333366%7D%2C%22attributes%22%3A%7B%7D%7D%2C%7B%22geometry%22%3A%7B%22spatialReference%22%3A%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D%2C%22x%22%3A8126476.023267714%2C%22y%22%3A2162869.0452701817%7D%2C%22attributes%22%3A%7B%7D%7D%5D%2C%22doNotLocateOnRestrictedElements%22%3Atrue%7D&lt;/A&gt;&lt;SPAN&gt;"], "message": "Proxy has not been set up for this URL."}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;server&amp;nbsp;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;xx&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;xx&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;.113.&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;xx&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178; background-color: #1e1e1e;"&gt;:6880&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;server config&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;BR /&gt; logFile="proxy_log.log"&lt;BR /&gt; logLevel="INFO"&lt;BR /&gt; mustMatch="true"&amp;gt;&lt;BR /&gt; &amp;lt;serverUrls&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; matchAll="true"/&amp;gt;&lt;BR /&gt;&amp;lt;serverUrls&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Froute.arcgis.com%2Farcgis%2Frest%2Finfo%3Ff%3Djson" rel="nofollow" target="_blank"&gt;https://route.arcgis.com/arcgis/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; username="xxxxxx"&lt;BR /&gt; password="xxxxx"&lt;BR /&gt; clientId="xxxxxxx"&lt;BR /&gt; clientSecret="xxxxxxxx"&lt;BR /&gt; rateLimit="600"&lt;BR /&gt; rateLimitPeriod="60"&lt;BR /&gt; accessToken="xxxxxxxxx"&lt;BR /&gt; matchAll="true"&lt;BR /&gt; /&amp;gt;&lt;BR /&gt;&amp;lt;/serverUrls&amp;gt;&lt;BR /&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;javascript code . :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;urlUtils&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;addProxyRule&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;urlPrefix:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"route.arcgis.com"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;proxyUrl:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fxx.xx.113.xx%3A6880%2FJava%2Fproxy.jsp" rel="nofollow" target="_blank"&gt;http://xx.xx.113.xx:6880/Java/proxy.jsp&lt;/A&gt;&lt;SPAN&gt;?"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #608b4e;"&gt;// Point the URL to a valid route service&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;routeTask&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4ec9b0;"&gt;RouteTask&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;url:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Froute.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FRoute%2FNAServer%2FRoute_World" rel="nofollow" target="_blank"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 09:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392469#M36226</guid>
      <dc:creator>BhuminBhandari</dc:creator>
      <dc:date>2018-05-23T09:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392470#M36227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanoop,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Hmm. I am not sure how you are missing the simple image that illistrates what you need in your proxy.config:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/servlet/JiveServlet/download/58691-189010/clientID.png" /&gt;&lt;/P&gt;&lt;P&gt;Yours should be configured just like this image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392470#M36227</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-05-23T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392471#M36228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, i'll try and let you know our service team is not available so tomorrow sure i'll update you Thanks so much. i'm new in arc GIS&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 13:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392471#M36228</guid>
      <dc:creator>BhuminBhandari</dc:creator>
      <dc:date>2018-05-23T13:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392472#M36229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG style="border: 0px; font-weight: bold; font-size: 12.600000381469727px;"&gt;&lt;A _jive_internal="true" class="" data-avatarid="-1" data-userid="3101" data-username="rscheitlin" href="https://community.esri.com/people/rscheitlin" style="color: #287433; border: 0px; font-weight: inherit; font-size: 1.1em; padding: 0px 3px 0px 0px;"&gt;Robert Scheitlin, GISP&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;Tanks so much it's working &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 09:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392472#M36229</guid>
      <dc:creator>BhuminBhandari</dc:creator>
      <dc:date>2018-05-24T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot a route between two points. I followed the sample code given for Javascript 3.18, The routes are being displayed for US only. When I try to plot route in India I get the following error.  " No 'Access-Control-Allow-Origin' header is pre</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392473#M36230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 12:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-want-to-plot-a-route-between-two-points-i/m-p/392473#M36230</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-05-24T12:39:15Z</dc:date>
    </item>
  </channel>
</rss>

