on 07-20-2021 7:01 PM
Hello Team,
I am using FileTreeBuilder class in groovy to generate folder structure dynamically with message body as file included in them. I set the tree object as message body output and while using zip function, CPI throwing below error.
com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: No type converter available to convert from type: groovy.util.FileTreeBuilder to the required type: java.io.InputStream with value groovy.util.FileTreeBuilder@720cf03b.
Please let me know if the class object to be converted to byte array or some kind of output stream to get it worked. I have used Writer class but didn't got the result as expected.
Thanks in advance.
Regards,
Anil
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.