Exercise 5.1: Invoking the Web Interaction wizard

During this exercise you will use the Web Interaction wizard to create the interface description for parameters to be passed to an iSeries program. You will also generate a Web page based on the parameters definition used by the program. Some of the parameters will be defined based on existing iSeries database field definitions.

To invoke the Web Interaction wizard:
Web Diagram popup menu

  1. Right-click WSSLABxx in the Project Explorer.
  2. Click New > Other on the pop-up menu.
  3. Expand Web in the list.
    Creating a new Web Interaction
  4. Select Web Interaction from the list.
  5. Click Next.

    An interaction is the span between the submit of a request from the current Web page to the post of a new Web page. An interaction could be a simple request to the HTTP server to load another page. In this environment an interaction will be made up of a call to an iSeries program, waiting for the return of the program with data and then invoking a JSP to show the next Web page containing the data returned from the program.

    First you have to give the interaction a name so you can reference it later on.

    The Specify a Name and Location for your Web Interaction page opens.
    Specify Name and Location

  6. Type custInquiry in the Web Interaction name field.
  7. Click Next in the Web Interaction wizard.

    The Specify the Input and Output Pages for your Web Interaction page opens.

You have started the Web Interaction wizard and now you are ready to begin Exercise 5.2: Specifying the input and output page.