<?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: Is the QueryTask supposed to automatically use POST when necessary? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387023#M10052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes the QueryTask is automatically switching to HTTP POST when necessary (for example when the parameter length is greater than 2048).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no way to force a POST when a GET can work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of error do you get when a POST is used? Could you give us more infos on how to reproduce the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 06:12:23 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2012-05-22T06:12:23Z</dc:date>
    <item>
      <title>Is the QueryTask supposed to automatically use POST when necessary?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387022#M10051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;QueryTask is working fine for me except when I generate a where clause that is longer than GET can handle. In that case it just cuts off the submitted URL after the "query" keyword. How do I force a POST?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 18:11:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387022#M10051</guid>
      <dc:creator>RyanKoehnen</dc:creator>
      <dc:date>2012-05-21T18:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is the QueryTask supposed to automatically use POST when necessary?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387023#M10052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes the QueryTask is automatically switching to HTTP POST when necessary (for example when the parameter length is greater than 2048).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no way to force a POST when a GET can work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of error do you get when a POST is used? Could you give us more infos on how to reproduce the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 06:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387023#M10052</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-05-22T06:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is the QueryTask supposed to automatically use POST when necessary?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387024#M10053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My mistake, the IE debugger wasn't showing the POST... When I looked through Fiddler, I could see it as a POST.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason the query is failing at the SDE level and my failure to see the POST in the IE debugger was leading down the wrong path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The permissions are set up correctly, the layer draws correctly, the service sublayer is available for query on the REST page, but when the query is submitted, it takes far too long (much longer than it should). The same query works fine through arcmap, and the code I have to set up the query works fine with other layers and services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On to the Rest or SDE forum I guess &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 18:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-the-querytask-supposed-to-automatically-use/m-p/387024#M10053</guid>
      <dc:creator>RyanKoehnen</dc:creator>
      <dc:date>2012-05-22T18:05:25Z</dc:date>
    </item>
  </channel>
</rss>

