<?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: REST CONNECTOR, Override request body in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994674#M1444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I made a new test using Fiddler and it shows that BODY clause works. It put the xml into the request.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The BODY parameter is accepted in the GA release not in the beta release. When running the Beta version, I got the same issue with invalid Lexem. Are you running the last version ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The web service that I'm connecting requires some parameters for authentication. As these parameters are the user name and password, I can´t share it&lt;SPAN style="font-size: 13.3333px;"&gt;. So we can try with a public web service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 13:18:22 GMT</pubDate>
    <dc:creator>pablolabbe</dc:creator>
    <dc:date>2015-12-03T13:18:22Z</dc:date>
    <item>
      <title>REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994667#M1437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm have a connection to an external webservice using the new Qlik Rest Connector for Qliksense.&lt;/P&gt;&lt;P&gt;The service requires parameters in the request body to authenticate and to set some query parameters like the initial and end date.&lt;/P&gt;&lt;P&gt;Now I have to automate the extraction to extract data from last day, so how can I override the request body in the script to set a new date interval ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 02:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994667#M1437</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2015-11-27T02:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994668#M1438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;Have you tried using a variable in the script to dynamically update requestBody in the Connect string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994668#M1438</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2015-11-27T12:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994669#M1439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made some tests with different parameters inside WITH CONNECTION CLAUSE.&lt;/P&gt;&lt;P&gt;adding a BODY clause + variable with my body definition appear to be accepted by the sintax but server returns error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px;"&gt;RestConnectorMasterTable &amp;lt;&amp;lt; RestConnectorMasterTable Erro de script: QVX_UNEXPECTED_END_OF_DATA: HTTP protocol error 400 (Bad Request):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;WITH CONNECTION (&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;URL "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://wsgslog.globalsearch.com.br/V2050/posicoes.asmx" rel="nofollow"&gt;http://wsgslog.globalsearch.com.br/V2050/posicoes.asmx&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HTTPHEADER "Host" "wsgslog.globalsearch.com.br",&lt;/P&gt;&lt;P&gt;HTTPHEADER "Content-Type" "text/xml; charset=utf-8",&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HTTPHEADER "SOAPAction"&amp;nbsp; "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://systemsat.gslog.webservice/Lista_UltimasPosicoes" rel="nofollow"&gt;http://systemsat.gslog.webservice/Lista_UltimasPosicoes&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BODY "$(vRequestBody)"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The request body variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vRequestBody = '';&lt;/P&gt;&lt;P&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;';&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;soap:Envelope xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:soap="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;soap:Body&amp;gt;';&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;Lista_UltimasPosicoes xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://systemsat.gslog.webservice/" rel="nofollow"&gt;http://systemsat.gslog.webservice/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;EmpCliente&amp;gt;xxxx&amp;lt;/EmpCliente&amp;gt;';&lt;/P&gt;&lt;P&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;/Lista_UltimasPosicoes&amp;gt;';&lt;/P&gt;&lt;P&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;/soap:Body&amp;gt;';&lt;/P&gt;&lt;P&gt;let vRequestBody = vRequestBody &amp;amp; '&amp;lt;/soap:Envelope&amp;gt;';&lt;/P&gt;&lt;P&gt;let vRequestBody = replace(vRequestBody,'"','&amp;amp;quot;');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove the BODY parameter from WITH CONNECTION CLAUSE then the connection works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I have made a mistake generating the request body variable but I can´t figure out what is causing the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994669#M1439</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2015-11-27T13:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994670#M1440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, but that's a SOAP request, not REST, or am I missing something here? Do you have the full script you could share?&lt;/P&gt;&lt;P&gt;Did you check with Fiddler or similar tool to see the actual request being sent? Could it be that you need to set BODY as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BODY "'$(vRequestBody)'" i.e. single-quote the variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note sure, but maybe '$(vRequestBody)' would be enough...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994670#M1440</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2015-11-27T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994671#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checked the request with fiddler. The format appear to be correct but the webservices reject the body with escaped character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to send the body without escaping and withou quoting the variable but the connector rejects with an unknown substring error . Checked the following variations and errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BODY $(vRequestBody) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; line-height: 1.5em; background-color: rgba(255, 38, 38, 0.2);"&gt;Unknown substring, string, or value at (68,5): '&amp;lt;?xml version="1.0" encoding="utf-8'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BODY '$(vRequestBody)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;Unknown substring, string, or value at (68,5): ''&amp;lt;?xml version="1.0" encoding="utf-'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;BODY "'$(vRequestBody)'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-size: 15px; background-color: rgba(255, 38, 38, 0.2); font-family: 'Courier New';"&gt;Unknown substring, string, or value at (68,23): '.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelop'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-size: 15px; background-color: rgba(255, 38, 38, 0.2); font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 16:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994671#M1441</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2015-11-27T16:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994672#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi Bjorn,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; I've tried with&amp;nbsp; BODY "'$(vRequestBody)'" , but have no luck.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; Do I need to escape the quote character in my request body variable ? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 11:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994672#M1442</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2015-12-03T11:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994673#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;Sorry about the delay on a response. Reality knocked on the door &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Anyway I raised this question internally as I haven't found a way to even include BODY in the WITH CONNECTION statement and I cannot find any documentation supporting if this a valid setting.&lt;/P&gt;&lt;P&gt;If I try adding BODY "" I always end up with an error "Unexpected lexem". &lt;/P&gt;&lt;P&gt;If I remove BODY from WITH CONNECTION it works OK with HTTPHEADER as described in the help section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying it out I'm using &lt;A href="http://www.webservicex.com/globalweather.asmx" title="http://www.webservicex.com/globalweather.asmx"&gt;GlobalWeather Web Service&lt;/A&gt; as I'm not sure I have access to the service you provided above (guess you need to supply a "EmpCliente" and password according to the scheme).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will get back as soon as I got a response for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 12:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994673#M1443</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2015-12-03T12:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994674#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I made a new test using Fiddler and it shows that BODY clause works. It put the xml into the request.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The BODY parameter is accepted in the GA release not in the beta release. When running the Beta version, I got the same issue with invalid Lexem. Are you running the last version ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The web service that I'm connecting requires some parameters for authentication. As these parameters are the user name and password, I can´t share it&lt;SPAN style="font-size: 13.3333px;"&gt;. So we can try with a public web service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994674#M1444</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2015-12-03T13:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994675#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;you were right! For unknown reasons I was still running the beta version. Uninstalled and reinstalled the GA and after some playing around with escaping the quotes I got it to work as well. Here's my working code snippet against a public webservice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14491596402083400 jive_text_macro" jivemacro_uid="_14491596402083400"&gt;
&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;
&lt;P&gt;Let vRequestBody ='';&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;';&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;soap12:Envelope xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:soap12="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2003/05/soap-envelope" rel="nofollow"&gt;http://www.w3.org/2003/05/soap-envelope&lt;/A&gt;&lt;SPAN&gt;"&amp;gt; ';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;soap12:Body&amp;gt;';&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;GetWeather xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.webserviceX.NET" rel="nofollow"&gt;http://www.webserviceX.NET&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;CityName&amp;gt;Lund&amp;lt;/CityName&amp;gt;';&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;CountryName&amp;gt;&amp;lt;/CountryName&amp;gt;';&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;/GetWeather&amp;gt;';&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;/soap12:Body&amp;gt;';&lt;/P&gt;
&lt;P&gt;let vRequestBody = vRequestBody &amp;amp;'&amp;lt;/soap12:Envelope&amp;gt;';&lt;/P&gt;
&lt;P&gt;let vRequestBody = replace(vRequestBody,'"', chr(34)&amp;amp;chr(34));&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;RestConnectorMasterTable:&lt;/P&gt;
&lt;P&gt;SQL SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp; "__KEY_Envelope",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp; (SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp; "GetWeatherResult",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "__FK_GetWeatherResponse"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM "GetWeatherResponse" FK "__FK_GetWeatherResponse")&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM "Body" PK "__KEY_Body" FK "__FK_Body")&lt;/P&gt;
&lt;P&gt;FROM XML "Envelope" PK "__KEY_Envelope"&lt;/P&gt;
&lt;P&gt;WITH CONNECTION (&lt;/P&gt;
&lt;P&gt;BODY "$(vRequestBody)"&lt;/P&gt;
&lt;P&gt;);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you solved your issues as well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 16:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994675#M1445</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2015-12-03T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994676#M1446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using chr(34)&amp;amp;chr(34) in the replace function do the trick. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I got it to work to me too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 17:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994676#M1446</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2015-12-03T17:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994677#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have implemented the code you have used above to extract data from a SOAP webservice, which has worked perfectly. However today the webservice is running quite slow which is causing my reload to fail with the below error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable &amp;lt;&amp;lt; RestConnectorMasterTableQVX_UNEXPECTED_END_OF_DATA: Timeout when waiting for HTTP response from server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas if I can change the wait time before timeout?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 10:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994677#M1447</guid>
      <dc:creator />
      <dc:date>2016-03-10T10:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994678#M1448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carly,&lt;/P&gt;&lt;P&gt;You should able to tweak the timeout in the CONNECT statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provider=QvRestConnector.exe;url=&amp;lt;someurl&amp;gt;;&lt;STRONG&gt;timeout=30&lt;/STRONG&gt;;method=GET;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you running QlikView or Qlik Sense? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994678#M1448</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2016-03-10T15:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994679#M1449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my question is relevant to this topic, I would like to ask help on how can I get the data from GA using Rest Connector. I already got the connection after I reload it I only gets the headers or metric data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get also the rows data based from below figure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ga1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127419_ga1.png" style="height: 338px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 12:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/994679#M1449</guid>
      <dc:creator>donleeqlikview</dc:creator>
      <dc:date>2016-06-09T12:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST CONNECTOR, Override request body</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/1587825#M4003</link>
      <description>&lt;P&gt;Hi there Bjorn!&lt;/P&gt;&lt;P&gt;I resolved my issue with your response!, but now I'm facing a new problem, my credentials are set on the header of the xml request, and by security terms I cant type the user or password on the headers(even though its created just like that), and I cant change the XML configuration,so, I cant manage to load data without setting the credentials on the header, is there a way to set the credentials on the "Authentication" section and omit the ones on the header?&lt;/P&gt;&lt;P&gt;Sorry for my bad english and thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 00:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-CONNECTOR-Override-request-body/m-p/1587825#M4003</guid>
      <dc:creator>AxNoxy</dc:creator>
      <dc:date>2019-06-04T00:08:19Z</dc:date>
    </item>
  </channel>
</rss>

