Creation of various web services.
- First we need to create a http server.
- We can use IBMi Navigator to create a new http server.
- Create a new http server.
- Provide configuration for the server.
- Once the server is created, edit the configuration file.
- The Server.conf file in this folder is used for http server configuration.
- Now Start the Server (Restart if already running).
- Now the Server is Created.

Fetch data from database using Get request.
- Create a RPG program which can hanlde get request.
- This Program will send the data from a physical file to browser.
- Create a Physical File to store the data.
- Send Get request through URL.
- Data will be displayed on browser.
Convert TCP data to EBCDIC character set.
- Create a RPG Program which can handle post request.
- This Program will convert TCP data to EBCDIC character set.
- Send Post request through URL.
- Give plain text in the body of the URL, which you want to convert.
- Program will return converted EBCDIC character data to brower.