Guides you through the process of creating the CWSREQ
enterprise server region, and configuring
CWSREQ resources, and installing and verifying those resources.
Start the Server Explorer
The
Server Explorer view is visible by default when using the Team Developer perspective, and appears as a tab on the same level as the
Application Explorer view. However, if it is not visible:
- In Eclipse, click
, and then click
Open.
Create an enterprise server region
Here you use
Enterprise Server to create an
enterprise server region on which to run the Web service.
- Right-click
Local [localhost:86]; then select
New > Enterprise Server.
- In the
Name field, type
CWSREQ. This is the name for the new
enterprise server region.
- Click the
Browse button that corresponds to the
Template field, and navigate to the
CICSWebServicesProjectTemplate.xml file located in the
ESTemplates project folder.
- Double-click
CICSWebServicesProjectTemplate.xml. This populates the
Template field.
- On the list next to
Associate with projects, check
InvokeReverse.
- Click
Finish.
The
Server Explorer should now show the
CWSREQ
enterprise server region listed under
Local [localhost:86].
Note: If
CWSREQ is not showing, expand
Local [localhost:86].
Configure
CWSREQ resources
As with the
CWSPROV
enterprise server region created in the
previous tutorial, you need to add the appropriate resources to the
startup list and add and configure additional resources required by the CICS program.
- Start the
CWSREQ
enterprise server region
-
- Start
Enterprise Server Administration
- After
CWSREQ
has started:
- Start ES Monitor and Control (ESMAC)
-
- On the
Enterprise Server Administration
Home page, click the
Details button located in the
Status column for the
CWSREQ region.
- On the
Server > Control page, click
ES Monitor & Control.
- Add resource groups
- Here, you add the DFHWEB and DFHPIPE resource groups to the startup list, and add the MYCWSREQ resource group name to the
startup list. At this point, you have neither created nor defined the MYCWSREQ group and its respective resources. Those tasks
are completed in the next few sections of this tutorial.
- On the
ESMAC menu ribbon, click the
Resources drop-down list; then select
by Group.
- Click
Startup.
- Click the
Details button that corresponds to the
DEMOSTRT startup list.
- On the
CICS STARTUP - DEMOSTRT page, scroll down to the end of the list and type
DFHWEB into the empty field at the bottom; then click
Apply. ESMAC adds the DFHWEB group, and adds another empty field at the end of the list.
- In the new empty field, type
DFHPIPE; then click
Apply.
- In the new empty field, type
MYCWSREQ; then click
Apply.
Now you can create the MYCWSREQ resource group.
- Create the MYCWSREQ resource group
-
- On the
ESMAC menu, click the
Groups button located under
Resources.
- On the
CICS Resource Groups page, click
New.
- In the
Name field, type
MYCWSREQ.
- In the
Description field, type
CICS Web Services Requester Resources, and then click
Add.
- Create resources
- The InvokeReverse program requires a resource to support a pipeline, and a PCT resource used to invoke the Reverse Web service
from a TN3270 terminal emulator.
- On the
CICS Group MYCWSREQ page, click
Pipeline.
- Complete these fields:
Name
|
REQPIPE
|
Description
|
My CICS Requester Pipeline
|
Resp Wait
|
DEFT
|
Config file
|
$IDE_XML_LOC\basicsoap11requester.xml
|
WebSvc Dir
|
$IDE_LOADLIB\
|
- Click
Add and then
Apply.
- Click
Group List to return to the
CICS Group MYCWSREQ page.
- Click
PCT.
- Complete these fields:
Name
|
INVK
|
Description
|
CWS transaction to invoke the reverse service
|
Program Name
|
INVKREV
|
- Click
Add; then click
Apply.
- To return to the Administration
Home page, click
Home at the top of the ESMAC menu.
Install and verify resources
You can install the new resources by stopping and starting the region.
- On the
Server Explorer, right-click
CWSREQ; then select
Restart. This stops and then starts the
CWSREQ
enterprise server region, automatically installing and loading the newly added resources on the startup list.
- After
CWSREQ is started, use the ESMAC
Active feature to verify that the MYCWSREQ resources are installed and active, just as you did in the previous tutorial.
- Close
Enterprise Server Administration.
Start the CWSPROV Region
Because your new CICS Web service requester sends requests to the CICS Web service provider you created in the previous tutorial,
start the CWSPROV region before proceeding.