The Web service support extends the example application, providing
a Web client front end and two versions of a Web service endpoint for the
order dispatcher component.
The Web client front end and one version of the Web service endpoint are
supplied as enterprise archives (EARs) that will run in the following environments:
- WebSphere® Application
Server Version 5 Release 1 or later
- WebSphere Studio
Application Developer Version 5 Release 1 or later with a WebSphere unit
test environment
- WebSphere Studio
Enterprise Developer Version 5 Release 1 or later with a WebSphere unit
test environment
The second version of the Web service endpoint is supplied as a CICS service
provider application program (DFH0XODE).
Figure 1 shows one configuration of
the example application.
Figure 1. The example application configured
as a Web service provider
In this configuration, the application is
accessed through two different clients:
- A Web browser client connected to WebSphere Application Server, in which ExampleAppClient.ear is
deployed.
- CICS Web service client DFH0XECC. This client uses the same
BMS presentation logic as the base application but uses module DFH0XCUI instead
of DFH0XGUI.

Figure 2 shows another way to configure
the example application as a Web service.
Figure 2. Alternate Web
service provider configuration
In this configuration,
the Web browser client is connected to WebSphere Application Server, in which
ExampleAppWrapper.ear is
deployed. In CICS, three wrapper applications (for the inquire catalog, inquire
single, and place order functions) are deployed as service provider applications.
They in turn link to the base application.
