OLAP Response compression

3 posts, 0 answers
  1. Riccardo
    Riccardo avatar
    6 posts
    Member since:
    Oct 2014

    Posted 06 Dec 2016 Link to this post

    Hi,

    We would like to get a compressed response of a XMLA query. We have seen that the response is content-type: text/xml, so we enabled it in IIS. However, in the request header the only accept-encoding is "Identity", and not "Gzip". Is there a way to edit the request header, or any way to get a compressed response?

    I attach two pictures: in the "XMLARequest.png" you can see the original request done by the XMLADataProvider. In the "GzippedRequest.png" you can see our request: we took the original one and just edited the accept-encoding field, and we got a compressed response.

    I attach also the code we use to create the connection:

                dataProvider = this.Resources["DataProvider"] as XmlaDataProvider;

                dataProvider.DeferUpdates = false;
                dataProvider.PrepareDescriptionForField += XmlaDataProvider_PrepareDescriptionForField;
                dataProvider.ConnectionSettings = new XmlaConnectionSettings();

                dataProvider.ConnectionSettings.ServerAddress = "...";
                dataProvider.ConnectionSettings.Database = "...";
                dataProvider.ConnectionSettings.Cube = "...";

                XmlaQueryProperty localization = new XmlaQueryProperty();
                localization.Name = "LocaleIdentifier";
                localization.Value = "1033";
                dataProvider.ConnectionSettings.QueryProperties.Add(localization);

    Thank you,
    Riccardo

  2. Polya
    Admin
    Polya avatar
    212 posts

    Posted 08 Dec 2016 Link to this post

    Hello Riccardo,

    Thank you for contacting us.

    With our current implementation of the XmlaDataProvider the request headers cannot be modified. You can log this feature request in our feedback portal: https://feedback.telerik.com/Project/143.

    If you have any other problems or concerns please feel free to contact us again.

    Regards,
    Polya
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Riccardo
    Riccardo avatar
    6 posts
    Member since:
    Oct 2014

    Posted 12 Dec 2016 in reply to Polya Link to this post

    Hi Polya,

    Thank you for your answer. I have logged the feature request as you suggested.

     

    Regards,

    Riccardo

Back to Top