Before you can use the Web client, you must configure it
to call the appropriate end points in your CICS® system.
- 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
- 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
- Enter the new endpoints for the Web service. There
are three endpoints to configure:
- Inquire catalog
- Inquire item
- Place order
- In the URLs replace the string 'myCicsServer'
with the name of the system on which your CICS is running.
- Replace the port number '9999'
with the port number configured in the TCPIPSERVICE, in the example
this to 30000.
- Click the SUBMIT button.
The Web application is now ready to run.
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.