Unable to download excel file returned from Integration server

Hi Experts,

We are hosting our application in Business console. We have a feature to download a report as an Excel from the UI. On click of a button, rest call would be made to Integration server, IS will create a excel document using Apache POI(HSSF) and return excel document as byte array.

The file received on the UI is corrupted.It has a character like ��ࡱ�;��.

Please help me to fix this problem.

Business console version is 1.4.

Mohan Nataraj

If you are using BC Gadgets, using an accept header with media type “application/octet-stream” while invoking the IS REST API from the Gadget/REST client should solve the problem. Let us know if its suffice.