<?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 AJAX issue with service call in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680349#M1241006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First I tried a simple HTML page to test a web service call. It took some work but ultimately I got it working. I have to set jQuery.support.cors = true. It is making a call to another machine on our same domain and the html page works great:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69482_Capture.JPG.jpg" style="width: 620px; height: 448px;" /&gt;&lt;/P&gt;&lt;P&gt;However now when I try to do the same thing in an extension object it errors. In fiddler I can see the call succeed with a 200 and the response I would expect. However that happened with the web page when it broke too, until I set cors = true. I am doing everything the same in the extension object. What am I missing? Note: I get same result in desktop and access point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69483_Capture2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Attached are the html page and the extension object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>AJAX issue with service call</title>
      <link>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680349#M1241006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First I tried a simple HTML page to test a web service call. It took some work but ultimately I got it working. I have to set jQuery.support.cors = true. It is making a call to another machine on our same domain and the html page works great:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69482_Capture.JPG.jpg" style="width: 620px; height: 448px;" /&gt;&lt;/P&gt;&lt;P&gt;However now when I try to do the same thing in an extension object it errors. In fiddler I can see the call succeed with a 200 and the response I would expect. However that happened with the web page when it broke too, until I set cors = true. I am doing everything the same in the extension object. What am I missing? Note: I get same result in desktop and access point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69483_Capture2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Attached are the html page and the extension object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680349#M1241006</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: AJAX issue with service call</title>
      <link>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680350#M1241010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some more info, when the extension object executes, as you can see I get a 200 in Fiddler, but Firebug shows a bad call, but zero response or clues as to why. This is a call to localhost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/69628_Untitled.png" style="width: 620px; height: 333px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 18:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680350#M1241010</guid>
      <dc:creator />
      <dc:date>2014-10-24T18:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: AJAX issue with service call</title>
      <link>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680351#M1241014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case anyone is still tuning in... This is how I finally got it working. I needed to add the following to my web.config in the &amp;lt;system.webServer&amp;gt; node:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;httpProtocol&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;customHeaders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Origin" value="*" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Methods" value="POST, GET, OPTIONS, PUT, DELETE" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Headers" value="content-type,soapaction,x-requested-with" /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/customHeaders&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/httpProtocol&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 21:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AJAX-issue-with-service-call/m-p/680351#M1241014</guid>
      <dc:creator />
      <dc:date>2014-10-24T21:06:46Z</dc:date>
    </item>
  </channel>
</rss>

