<?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 unable to connect to sampleserver3 using proxy.jsp in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-connect-to-sampleserver3-using-proxy-jsp/m-p/15382#M1415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use closestfacility task in my application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the code of the sample available for the same in the resources page. (find the link below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/routetask_closest_facility.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/routetask_closest_facility.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem with me is that when I downloaded and ran the same code on my machine, it worked. But when I modified and integrated it into my application, it was unable to access sampleserver3 through my proxy file. I am using proxy.jsp (latest version) that I downloaded from the arcgis resources. I have already added the service url to my proxy page. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest&lt;/A&gt;&lt;SPAN&gt; Facility&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still I keep getting this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RequestError: Unable to load proxy.jsp?&lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest&lt;/A&gt;&lt;SPAN&gt; Facility/solveClosestFacility status: 500&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me.&amp;nbsp; I am unable to find any solution for this problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 08:49:31 GMT</pubDate>
    <dc:creator>Nehas</dc:creator>
    <dc:date>2013-07-24T08:49:31Z</dc:date>
    <item>
      <title>unable to connect to sampleserver3 using proxy.jsp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-connect-to-sampleserver3-using-proxy-jsp/m-p/15382#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use closestfacility task in my application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the code of the sample available for the same in the resources page. (find the link below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/routetask_closest_facility.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/routetask_closest_facility.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem with me is that when I downloaded and ran the same code on my machine, it worked. But when I modified and integrated it into my application, it was unable to access sampleserver3 through my proxy file. I am using proxy.jsp (latest version) that I downloaded from the arcgis resources. I have already added the service url to my proxy page. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest&lt;/A&gt;&lt;SPAN&gt; Facility&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still I keep getting this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RequestError: Unable to load proxy.jsp?&lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest&lt;/A&gt;&lt;SPAN&gt; Facility/solveClosestFacility status: 500&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me.&amp;nbsp; I am unable to find any solution for this problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 08:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-connect-to-sampleserver3-using-proxy-jsp/m-p/15382#M1415</guid>
      <dc:creator>Nehas</dc:creator>
      <dc:date>2013-07-24T08:49:31Z</dc:date>
    </item>
  </channel>
</rss>

