<?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 SOAP response Error via Qlik Rest Connector in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SOAP-response-Error-via-Qlik-Rest-Connector/m-p/1684206#M5014</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched this forum and various Qlik sites for several hours but haven't found what I'm looking for.&lt;/P&gt;&lt;P&gt;My problem is as follows. First some background:&lt;/P&gt;&lt;P&gt;I have established a successful SOAP connection via the Rest connector. I'm building the XML-requests as have been recommended in other posts such as in this one&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Data-Connectivity/REST-CONNECTOR-Override-request-body/td-p/994667" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Sense-Data-Connectivity/REST-CONNECTOR-Override-request-body/td-p/994667&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The connection is successful as I'm getting data (specifically a login ticket) from the web service I'm connecting to, and Qlik correctly interprets this as XML data.&lt;/P&gt;&lt;P&gt;Now to the actual problem:&lt;/P&gt;&lt;P&gt;When I query the web service for actual data (from the General Ledger etc), the response body is pretty big, and there is no built-in method of pagination to use with the web service. When I try the query in Postman, the response gives me the whole response body and it is successful.&lt;/P&gt;&lt;P&gt;When I try the query in the Qlik Sense script it looks like this:&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_Envelope",&lt;BR /&gt;(SELECT&lt;BR /&gt;"__KEY_Body",&lt;BR /&gt;"__FK_Body",&lt;BR /&gt;(SELECT&lt;BR /&gt;"GetGeneralLedgerDataResult",&lt;BR /&gt;"__FK_GetGeneralLedgerDataResponse"&lt;BR /&gt;FROM "GetGeneralLedgerDataResponse" FK "__FK_GetGeneralLedgerDataResponse")&lt;BR /&gt;FROM "Body" PK "__KEY_Body" FK "__FK_Body")&lt;BR /&gt;FROM XML "Envelope" PK "__KEY_Envelope"&lt;BR /&gt;WITH CONNECTION (&lt;BR /&gt;BODY "$(vRequestBodyGetGeneralLedgerData)"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;When I load the GetGeneralLedgerDataResponse in a table, I get this single message stored in a field in the loaded table:&lt;/P&gt;&lt;P&gt;"Error: Failed to fill DataSet, , Object reference not set to an instance of an object.,".&lt;/P&gt;&lt;P&gt;It seems that the xml body response can't be parsed correctly, as if it tries to store the entire response in a single cell in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks in advance.&lt;/P&gt;&lt;P&gt;//Tim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 14:01:50 GMT</pubDate>
    <dc:creator>Timha</dc:creator>
    <dc:date>2021-12-21T14:01:50Z</dc:date>
    <item>
      <title>SOAP response Error via Qlik Rest Connector</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/SOAP-response-Error-via-Qlik-Rest-Connector/m-p/1684206#M5014</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched this forum and various Qlik sites for several hours but haven't found what I'm looking for.&lt;/P&gt;&lt;P&gt;My problem is as follows. First some background:&lt;/P&gt;&lt;P&gt;I have established a successful SOAP connection via the Rest connector. I'm building the XML-requests as have been recommended in other posts such as in this one&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Data-Connectivity/REST-CONNECTOR-Override-request-body/td-p/994667" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Sense-Data-Connectivity/REST-CONNECTOR-Override-request-body/td-p/994667&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The connection is successful as I'm getting data (specifically a login ticket) from the web service I'm connecting to, and Qlik correctly interprets this as XML data.&lt;/P&gt;&lt;P&gt;Now to the actual problem:&lt;/P&gt;&lt;P&gt;When I query the web service for actual data (from the General Ledger etc), the response body is pretty big, and there is no built-in method of pagination to use with the web service. When I try the query in Postman, the response gives me the whole response body and it is successful.&lt;/P&gt;&lt;P&gt;When I try the query in the Qlik Sense script it looks like this:&lt;/P&gt;&lt;P&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_Envelope",&lt;BR /&gt;(SELECT&lt;BR /&gt;"__KEY_Body",&lt;BR /&gt;"__FK_Body",&lt;BR /&gt;(SELECT&lt;BR /&gt;"GetGeneralLedgerDataResult",&lt;BR /&gt;"__FK_GetGeneralLedgerDataResponse"&lt;BR /&gt;FROM "GetGeneralLedgerDataResponse" FK "__FK_GetGeneralLedgerDataResponse")&lt;BR /&gt;FROM "Body" PK "__KEY_Body" FK "__FK_Body")&lt;BR /&gt;FROM XML "Envelope" PK "__KEY_Envelope"&lt;BR /&gt;WITH CONNECTION (&lt;BR /&gt;BODY "$(vRequestBodyGetGeneralLedgerData)"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;When I load the GetGeneralLedgerDataResponse in a table, I get this single message stored in a field in the loaded table:&lt;/P&gt;&lt;P&gt;"Error: Failed to fill DataSet, , Object reference not set to an instance of an object.,".&lt;/P&gt;&lt;P&gt;It seems that the xml body response can't be parsed correctly, as if it tries to store the entire response in a single cell in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks in advance.&lt;/P&gt;&lt;P&gt;//Tim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 14:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/SOAP-response-Error-via-Qlik-Rest-Connector/m-p/1684206#M5014</guid>
      <dc:creator>Timha</dc:creator>
      <dc:date>2021-12-21T14:01:50Z</dc:date>
    </item>
  </channel>
</rss>

