This is a migrated thread and some comments may be shown as answers.

OLAP Response compression

2 Answers 55 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Riccardo
Top achievements
Rank 1
Riccardo asked on 06 Dec 2016, 10:17 AM

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 Answers, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 08 Dec 2016, 03:24 PM
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.
0
Riccardo
Top achievements
Rank 1
answered on 12 Dec 2016, 10:39 AM

Hi Polya,

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

 

Regards,

Riccardo

Tags
PivotGrid
Asked by
Riccardo
Top achievements
Rank 1
Answers by
Polya
Telerik team
Riccardo
Top achievements
Rank 1
Share this question
or