This part it’s working, getting the file from IS and show for client in MWS.
But in this moment, all buttons in my form gets disabled and even with an action listener to enable the buttons, it’s doesn’t work.
This document shows only how to download from IS to MWS.
Previously I have designed some file upload/download in CAF and was working in 8.2…but now when I ma trying to use same design in 9.7 It is not working.
For upload file mapping (mapping is done using java custom code) to objectType for input is not working.
Hi Luis,
After setting java wrapper type to byte,I am able to invoke webService and transfer encoded data file to IS.
But this is working only for text type document.For others document type getting errors of timeout(maximum time as well as encoding error in some scenario).
I have used “save pipeline to file” to file in IS flow service and what have noticed is that .if document selected is not text type then the size of the saved file is getting 2mb while selecting a file of 100KB.
I have used the below code sample for getting the file from fileItem and mapped to IS input.
Hi Luis,
I have tried the below code in 9.8 but not working
After getting byte data from CAF in flow service below step I have used to insert data in oracle database…
pub.string:bytesToString
pub.string:base64Decode
pub.io:bytesToStream
Insert adapter to insert as CLOB Data
To get back the file in UI,flow service step written as
Select adapter to get the CLOB Data
pub.io:streamToBytes
pub.string:base64Encode
pub.string:stringToBytes
In this step I am able to insert the data in DB ,but at the time of displaying not getting any data in output.
Can any one please help to get the appropriate step need to follow to display the file in CAF UI.