I am having an action which takes LongText as input, inturn I have used CLOB datatype to parse the longtext value in my procedure, but when I send the string via postman it gives error as “ODP_DESERIALIZATION_ERROR”.
Is there a way to parse the longtext values or BLOB values.
Thanks in advance
Best answer by Tomas Ruderfelt
How to send in CLOB/BLOB is described here in the documentation:
PROCEDURE Load_External_File___ ( created_from_ IN VARCHAR2, file_name_ IN VARCHAR2, message_ IN CLOB) IS BEGIN C_Ext_File_Server_Util_API.Load_External_File(created_from_, file_name_, message_); END Load_External_File___;
I cannot say what's wrong. What I can say is that the problem is most probably not in the PL/SQL side. It's more likely that you are posting the data to the REST service in the wrong format/way. How does the REST call look like? Is it a POST or PATCH?
In your earlier screenshot above, it says "CGetReport" but in what you just pasted above it says "CReport”. Could that be what the ODP complains about?
PROCEDURE Load_External_File___ ( created_from_ IN VARCHAR2, file_name_ IN VARCHAR2, message_ IN CLOB) IS BEGIN C_Ext_File_Server_Util_API.Load_External_File(created_from_, file_name_, message_); END Load_External_File___;
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.