Configuring the Web client

Before you can use the Web client, you must configure it to call the appropriate end points in your CICS® system.

Procedure

  1. Enter the following in your Web browser: http://myserver:9080/ExampleAppClientWeb/, where myserver is the hostname of the server on which the Web service client is installed.

    The example application displays the page shown in Figure 1:
    Figure 1. Welcome Page for the CICS Example Application
    WE:LCOME page for the CICS Example Application
  2. Click the CONFIGURE button to bring up the configuration page.
    The configuration page shown in Figure 2 displayed.
    Figure 2. Configuration Page for the CICS Example Application
    CONFIGURATION page for the CICS Example Application
  3. Enter the new endpoints for the Web service.
    There are three endpoints to configure:
    • Inquire catalog
    • Inquire item
    • Place order
    1. In the URLs replace the string 'myCicsServer' with the name of the system on which your CICS is running.
    2. Replace the port number '9999' with the port number configured in the TCPIPSERVICE, in the example this to 30000.
  4. Click the SUBMIT button.

Results

The Web application is now ready to run.

What to do next

Note: The URL that the Web services invoke is stored in an HTTP session. It is therefore necessary to repeat this configuration step each time a browser is first connected to the client.