Hi,
I am creating a web service for the first time in our IBM i machine. Currently, I have an RPG program that accepts as input JSON data from HTTP server, using HTTP POST method.
I keep getting the following error message:
java.lang.RuntimeException: Invocation of program failed.
AS400Message (ID: CEE9901 text: Application error. MCH3601 unmonitored by YAJL at statement 0000000001, instruction X'0000'.):com.ibm.as400.access.AS400Message@c93517ec
Please help me resolve this error. Can't seem to determine if this is a setup error when I deployed the service, or a problem with user access, or a problem with the program itself.
I used the following code to accept the JSON data from HTTP input, following the standard declaration from the sample RESP API program codes.
docNode = yajl_stdin_load_tree( *ON: errMsg );
if errMsg <> '';
cusord.errMsg = 'json parse: ' + errMsg;
cusord.success = *off;
yajl_writeStdout(500: errMsg);
endif;
Can't seem to get past the first line of code.
Thanks in advance.
Jose Tumbaga