Hi,
I was using PLSQL_Rest_Sender_API
on IFS application 10. I want to send a JSON payload to a REST endpoint. I created a CLOB in JSON format in my Utility API. But when I call the procedure “Call_Rest_Endpoint1
” it doesn’t accept a JSON clob. It gives the following error in the generated application message -
ORA-20105: PlsqlapServer.ERRINV: XMLREADER_NEXT:Cannot move to next XML event at [1:1]: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1] Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]
I tried other Call_Rest_EndpointX
versions of the procedure but no luck.
Does IFS Application 10 not support JSON? There are procedures in Rest sender API in Cloud that accepts JSON payload.
I think I have to do manual work here by writing my own transformer. Not sure even if that would work.