JSON on the AS/400 (iSeries)
This is my attempt documenting my progress (or lack there of) with an article I read on the web: https://www.common.org/ibm/rpg-and-yajl/
I installed HTTP Server (Powered By Apache) and now SOAP UI to test the REST APIs.
The first challenge I had was:
- C2M1601 – Signal SIGABRT raised (abnormal termination).
- Receiving response: HTTP/1.1 500 Internal Server Error
Using the CL command EDTF STMF('/WWW') I then saw this error:
QIBM_CGI_LIBRARY_LIST QIBM_CGI_LIBRARY_LIST=â YAJLRESTâ IS NOT CORRECT FOR CGI /QSYS.LIB/YAJLREST.LIB/WEBTEST01RR.PGM: /qsys.lib/YAJLREST.lib/WEBTEST01R.pgm
The solution was to go in on the green screen command line and working with the HTTP config file and replacing the " on the library list (I did the HTTP Server config using Navigator and this replaces all the " with blanks on the config file. QIBM_CGI_LIBRARY_LIST was issuing IS NOT CORRECT FOR. Then went into the green screen and typed over the “ encapsulating the library list.)
No comments:
Post a Comment