We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Not Able to convert the docx file to the text file

Team, I am getting the docx by hitting another service so i am getting the response as “response.getEntityInputStream()” , if i give this as input i am not getting the text out of it. So I am reading all the bytes and convert into byte array input stream and giving as input to get the result. my question is there any function to result when i give response.getEntityInputStream() as the input to convert into text without reading as a byte array?

Hi there,

Thanks for your inquiry. There is no Document constructor which take response.getEntityInputStream as parameter. Please read the detail of Document constructor’s from here:

If you face any issue while converting Docx to text file format, please attach your input Word document here for testing. I will investigate the issue on my side and provide you more information.