<?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: Editing map using Proxy in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510443#M47510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your proxy has to live on the same server as your JS API app. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you able to contact support for help? This is something that they should be able to walk you through.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 06:28:22 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2011-10-12T06:28:22Z</dc:date>
    <item>
      <title>Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510441#M47508</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 using arcgis server 10..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Javascript api 2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Editing map sample&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed all steps to create Proxy on arcgis server..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to add any feature on map &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error on fire&amp;nbsp; bug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unable to load &lt;/SPAN&gt;&lt;A href="http://arcgis:8399/proxy/proxy.jsp?http://arcgis:8399/arcgis/rest/services/app1/FeatureServer/18/applyEdits"&gt;http://arcgis:8399/proxy/proxy.jsp?http://arcgis:8399/arcgis/rest/services/app1/FeatureServer/18/applyEdits&lt;/A&gt;&lt;SPAN&gt; status:0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;()?v=2.5 (line 14)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;undefined = "[object Object]"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;()?v=2.5 (line 14)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;()?v=2.5 (line 14)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;undefined = "-2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(function(){var _1=null;if((_1||(typeo...etTimeout(dojo._loadInit,100);}})(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me where i am going wrong ???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 03:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510441#M47508</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-09-28T03:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510442#M47509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone tell me where to set proxy.jsp ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on server or on local machine??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please someone help me.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 03:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510442#M47509</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-10-12T03:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510443#M47510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your proxy has to live on the same server as your JS API app. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you able to contact support for help? This is something that they should be able to walk you through.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 06:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510443#M47510</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-12T06:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510444#M47511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes both are on the same server still not getting &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 02:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510444#M47511</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-10-13T02:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510445#M47512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please contact support if you're unable to get it working by following the steps outlined here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 14:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510445#M47512</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-13T14:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510446#M47513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it Free to contact support team ???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 01:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510446#M47513</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-10-14T01:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510447#M47514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, no.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 01:58:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510447#M47514</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-14T01:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510448#M47515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it necessary to set proxy page while i m edit/add feature on layer ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way in java script api ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 07:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510448#M47515</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-10-14T07:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510449#M47516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;- have you tried insert feature from rest page?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- have you configurated serverUrls in page proxy?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- can you do debug on page.jsp calling page&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://arcgis:8399/proxy/proxy.jsp?h.../18/applyEdits"&gt;http://arcgis:8399/proxy/proxy.jsp?h.../18/applyEdits&lt;/A&gt;&lt;SPAN&gt; ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 07:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510449#M47516</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2011-10-14T07:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510450#M47517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Alll,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me is therr anything wrong in proxy.jsp file??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@page session="false"%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@page import="java.net.*,java.io.*" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String[] serverUrls = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server:8399/arcgis/rest/services/" rel="nofollow" target="_blank"&gt;http://server:8399/arcgis/rest/services/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String reqUrl = request.getQueryString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;boolean allowed = false;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String token = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(String surl : serverUrls)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String[] stokens = surl.split("\\s*,\\s*");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(reqUrl.toLowerCase().contains(stokens[0].toLowerCase())) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;allowed = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(stokens.length &amp;gt;= 2 &amp;amp;&amp;amp; stokens[1].length() &amp;gt; 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;token = stokens[1];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;break;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(!allowed) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;response.setStatus(403);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(token != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reqUrl = reqUrl + (reqUrl.indexOf("?") &amp;gt; -1 ? "&amp;amp;" : "?") + "token=" + token;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;URL url = new URL(request.getQueryString());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HttpURLConnection con = (HttpURLConnection)url.openConnection();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;con.setDoOutput(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;con.setRequestMethod(request.getMethod());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int clength = request.getContentLength();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(clength &amp;gt; 0) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;con.setDoInput(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InputStream istream = request.getInputStream();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OutputStream os = con.getOutputStream();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final int length = 5000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;byte[] bytes = new byte[length];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int bytesRead = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while ((bytesRead = istream.read(bytes, 0, length)) &amp;gt; 0) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;os.write(bytes, 0, bytesRead);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;out.clear();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;out = pageContext.pushBody();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OutputStream ostream = response.getOutputStream();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;response.setContentType(con.getContentType());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InputStream in = con.getInputStream();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final int length = 5000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;byte[] bytes = new byte[length];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int bytesRead = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while ((bytesRead = in.read(bytes, 0, length)) &amp;gt; 0) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ostream.write(bytes, 0, bytesRead);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} catch(Exception e) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;response.setStatus(500);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me i want it to be working as soon as possible &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 04:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510450#M47517</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-11-09T04:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510451#M47518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;- have you tried insert feature from rest page?&lt;BR /&gt;- have you configurated serverUrls in page proxy?&lt;BR /&gt;- can you do debug on page.jsp calling page&amp;nbsp; &lt;A href="http://arcgis:8399/proxy/proxy.jsp?h.../18/applyEdits"&gt;http://arcgis:8399/proxy/proxy.jsp?h.../18/applyEdits&lt;/A&gt; ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes i have tried to insert/edit/delete feature from rest page and its working properly..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have configured serverUrls in proxy.jsp page as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Still its not working&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 01:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510451#M47518</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-11-10T01:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510452#M47519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally Done..........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to All .......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 05:37:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510452#M47519</guid>
      <dc:creator>shwetakunjadia</dc:creator>
      <dc:date>2011-11-11T05:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510453#M47520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also interested in solution. Kindly share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 10:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510453#M47520</guid>
      <dc:creator>PreranaDoshi</dc:creator>
      <dc:date>2011-11-23T10:11:52Z</dc:date>
    </item>
    <item>
      <title>Proxy page unable to load</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510454#M47521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;I struggled with the same "Error: Unable to load [url]/proxy.ashx?\requestUrl] status:500 &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5compact" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5compact&lt;/A&gt;&lt;SPAN&gt;".&amp;nbsp; I was attempting to perform an edit operation on a feature service (simply create a point feature).&amp;nbsp; I experimented with some different web app/proxy configurations and here's what I found.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;My environment&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS Server 10 SP2 on Server A delivering map services, Windows Server 2008&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ESRI Javascript api (v2.5 compact) web app on Server B performing feature editing, Windows Server 2008, IIS 7, .net 4.0 installed and .net 4 asp.net registered with IIS&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Default website is bound to port 80.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;The only configuration that worked is when the proxy page and proxy config live in the same folder on disk as the web application and therefore were served under the same website or IIS/ASP application.&amp;nbsp; I'd like to understand the reasons if anyone can offer assistance.&amp;nbsp; Note, my GIS server is remote, i.e., not on the same machine as the web server.&amp;nbsp; I did not attempt to place the proxy files on the GIS Server; my result set for that scenario is nonexistent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 17:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510454#M47521</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2011-12-07T17:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page unable to load</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510455#M47522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Additional finding.&amp;nbsp; From what I can tell, the proxy pages need to exist in the same folder on disk as the root of the web application.&amp;nbsp; For my MVC project this location maps to the same folder on disk as Global.asax.&amp;nbsp; So, regardless of where my javascript code looks for the proxy page...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...if the proxy page does not exist in the Web app root, the editor's ajax call fails with status 500.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I struggled with the same "Error: Unable to load [url]/proxy.ashx?\requestUrl] status:500 http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5compact".&amp;nbsp; I was attempting to perform an edit operation on a feature service (simply create a point feature).&amp;nbsp; I experimented with some different web app/proxy configurations and here's what I found.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;My environment&lt;/STRONG&gt;&lt;BR /&gt; &lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;ArcGIS Server 10 SP2 on Server A delivering map services, Windows Server 2008&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;ESRI Javascript api (v2.5 compact) web app on Server B performing feature editing, Windows Server 2008, IIS 7, .net 4.0 installed and .net 4 asp.net registered with IIS&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Default website is bound to port 80.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;The only configuration that worked is when the proxy page and proxy config live in the same folder on disk as the web application and therefore were served under the same website or IIS/ASP application.&amp;nbsp; I'd like to understand the reasons if anyone can offer assistance.&amp;nbsp; Note, my GIS server is remote, i.e., not on the same machine as the web server.&amp;nbsp; I did not attempt to place the proxy files on the GIS Server; my result set for that scenario is nonexistent.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 18:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510455#M47522</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2011-12-07T18:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page unable to load</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510456#M47523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect part of my confusion is the proxy page must live on the same domain and same port as suggested in esri help -&amp;gt; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://samedomain:sameport/proxy/proxy.jsp" rel="nofollow" target="_blank"&gt;http://samedomain:sameport/proxy/proxy.jsp&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //absolute - if proxy.jsp is in another application in the same domain&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Additional finding.&amp;nbsp; From what I can tell, the proxy pages need to exist in the same folder on disk as the root of the web application.&amp;nbsp; For my MVC project this location maps to the same folder on disk as Global.asax.&amp;nbsp; So, regardless of where my javascript code looks for the proxy page...&lt;BR /&gt;&lt;BR /&gt;esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";&lt;BR /&gt;&lt;BR /&gt;...if the proxy page does not exist in the Web app root, the editor's ajax call fails with status 500.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 18:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510456#M47523</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2011-12-07T18:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510457#M47524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have the same problem. Could you please share your solution? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 15:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510457#M47524</guid>
      <dc:creator>GuangTian</dc:creator>
      <dc:date>2012-05-07T15:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510458#M47525</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 was stuck on this issue, then i found a solution for my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the configuration of my proxy at the top of proxy.jsp after "try{" then works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; System.setProperty("http.proxyHost", "&amp;lt;proxy_ip&amp;gt;");
 System.setProperty("http.proxyPort", "&amp;lt;proxy_port&amp;gt;");&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[]'s&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:21:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510458#M47525</guid>
      <dc:creator>ClaudioSantos1</dc:creator>
      <dc:date>2021-12-11T22:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510459#M47526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;I am getting error at Stream outputStream = req.GetRequestStream()) saying "The remote name could not be resolved: 'sampleserver3.arcgisonline.com". I have add this URL in my proxy.config &lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services&lt;/A&gt; which is working fine. Also when i try to check with &lt;A _jive_internal="true" href="https://community.esri.com/services.arcgisonline.com/ArcGIS/rest/services/?f=pjson"&gt;http://[yourmachine]/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/?f=pjson&lt;/A&gt; this URL, it gives the same error.&lt;/P&gt;&lt;P&gt;After setting mustMatch="false" in proxy.config and tried &lt;A _jive_internal="true" href="https://community.esri.com/www.google.com"&gt;http://[yourmachine]/DotNet/proxy.ashx?http://www.google.com/&lt;/A&gt; this URL, leads to same error.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Working on ArcGIS Javavascript API 3.10.&lt;/P&gt;&lt;P&gt;OS windows 7 Enterpriise edition SP1&lt;/P&gt;&lt;P&gt;IIS 7.5&lt;/P&gt;&lt;P&gt;Anyone know how to fix this issue???&lt;/P&gt;&lt;P&gt;(NOTE :PFA&amp;nbsp; image for the error)&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Shaikh Rizuan&lt;/P&gt;&lt;P&gt;Mail: &lt;A href="mailto:shaikhrizuan@gmail.com"&gt;shaikhrizuan@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 05:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510459#M47526</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2014-07-24T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Editing map using Proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510460#M47527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;it looks like a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dns&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;problem. From where you run this code do you can do a nslookup on sampleserver3.arcgisonline.com ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2014 10:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-map-using-proxy/m-p/510460#M47527</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-07-27T10:49:13Z</dc:date>
    </item>
  </channel>
</rss>

