SUPERSIMP – A Super Simple RPGLE program to return a success code and a message
Copy and paste the previous code into your IBM i Code Editor of choice.
I placed the code in library NLITTEN and source file QRPGLESREC and member SUPERSIMP
To compile it we use the create bound rpg command:
Once compiled - What's Next?
What do we need to accomplish this?
Before we create our webserver, we need to decide what protocol we will use for it. The old standard was SOAP, but for recent years REST has really taken over.
What is the differerence between these standards?
XML and JSON - what is that?
XML might look like this:
The same in JSON might look like this:
Let's choose REST and JSON for our webservice, and dive into the next set of questions:
Jump to the next lesson to find out!