We are uploading pdf file from client side using "FileItem", and send the incoming file stream to a service using REST api. But seems that the file created from this stream is always corrupt. Tried to get the file "dsRequest.getUploadedFiles()" but it always comes out to be null always. Tried using dsRequest.getUploadedFile("fileName") but this also comes out to be null.
SmartGwt Version: 6.1-p20170905/PowerEdition
Browser: Google Chrome Version 74.0.3729.169 (Official Build) (64-bit)
Client side, server side code and the ds.xml is attached.
Thanks in advance.
SmartGwt Version: 6.1-p20170905/PowerEdition
Browser: Google Chrome Version 74.0.3729.169 (Official Build) (64-bit)
Client side, server side code and the ds.xml is attached.
Thanks in advance.
Comment