Uniface to handle ByteArray Response
Author: jayesh.patel@us.qbe.com (jayesh.patel@us.qbe.com)
We have a Web based application developed in Uniface 9.6 version. Traditionally this application is developed and only compatible with IE browser. There is a business requirement to collect the Byte array response from Web service and convert into the PDF file within our Uniface application and open it in front screen/Browser. As a first step, we managed to consume Web service with wsdl file(signature) and successfully getting the Byte Array response for associated pdf document. Next part is to convert it to Pdf in Uniface application and open the pdf on screen. Can you please advise if there is established way to achieve this ? Since we are not familiar to achieve from Uniface, we tried using the AJAX call and grab the byte array to web and writing JS code to convert it to pdf. But the Response is very big, while web trying to read the byte array few of the character is not understanding from conversation front. Apart from that when code is written to open window. Open command in JS, it opens the blank page in IE11 browser. Can you please help if we have any approach/command in Uniface where we can convert byte array to PDF? Appreciate your suggestions and thanks in Advance. Jayesh