<?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 Proxy Page or SOE for lengthy GET Requests in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539862#M14610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I realize this question could go in either the server forums or here based on the responses.&amp;nbsp; Since a SOE would require ArcObjects, I posted here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For those of you who are working in Server, are you using the proxy page to handle your GET requests that exceed the GET request URL limit or are you developing SOE's to address that kind of special request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, why open your entire REST endpoint to potential abuse (if not securing the web application) for a simple buffer request that may exceed the GET request URL length limitation by deploying the proxy page?&amp;nbsp; One could just as easily move those kinds of requests to the server and let a SOE handle returning a json to the browser for putting up the buffer graphic in the map. No?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 19:46:10 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-05-20T19:46:10Z</dc:date>
    <item>
      <title>Proxy Page or SOE for lengthy GET Requests</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539862#M14610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I realize this question could go in either the server forums or here based on the responses.&amp;nbsp; Since a SOE would require ArcObjects, I posted here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For those of you who are working in Server, are you using the proxy page to handle your GET requests that exceed the GET request URL limit or are you developing SOE's to address that kind of special request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, why open your entire REST endpoint to potential abuse (if not securing the web application) for a simple buffer request that may exceed the GET request URL length limitation by deploying the proxy page?&amp;nbsp; One could just as easily move those kinds of requests to the server and let a SOE handle returning a json to the browser for putting up the buffer graphic in the map. No?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 19:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539862#M14610</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-05-20T19:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Page or SOE for lengthy GET Requests</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539863#M14611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We use Silverlight and have a class which encapsulates all of our HTTP logic.&amp;nbsp; That class has logic in it which changes GET requests to POST requests in order to work around this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:05:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539863#M14611</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-05-20T20:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Page or SOE for lengthy GET Requests</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539864#M14612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, Silverlight and Flex have that nice option.&amp;nbsp; Both of which are supposedly &lt;/SPAN&gt;&lt;A href="http://www.globalknowledge.com/training/generic.asp?pageid=3487&amp;amp;country=United+States"&gt;going the way of the dinosaur&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JavaScript API folks don't have that option. Unless I am missing something.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:19:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539864#M14612</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-05-20T20:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Page or SOE for lengthy GET Requests</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539865#M14613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;JavaScript certainly is not the language l know best.&amp;nbsp; That said, I hope that the following information is helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is some ESRI documentation on esri.Request which appears to be the recommended mechanism used to perform HTTP requests:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jshelp/inside_esri_request.html"&gt;http://developers.arcgis.com/en/javascript/jshelp/inside_esri_request.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scroll down to "Under the Hood: Determining Which Dojo Method is Used" and you will find the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JSON / XML / plain text: If JSON / XML / PlainText request&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; If target not on same domain &amp;amp;&amp;amp; CORS not available&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rewrite request url to use proxy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; If request size is 2000 characters or less&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call dojo.xhrGet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call dojo.xhrPost&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 12:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/proxy-page-or-soe-for-lengthy-get-requests/m-p/539865#M14613</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-05-21T12:09:16Z</dc:date>
    </item>
  </channel>
</rss>

