Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Service Assignments

Creation of various web services.

Creating a Web Server on IBMi.

  • 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. image

Create a program to handle GET request.

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.

Create a program to handle POST request.

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.

About

For Web Service Assignments

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors