Chapter 5. Using J2EE Connector Architecture 109
Specifying the binding operation
1. Right-click TraderblCICSECIBinding in the bindings box, as shown in
Figure 5-6.
Figure 5-6 TraderblCICSECIBinding define operation
2. Choose Generate Binding Content.
3. On the Binding Wizard-Specify Binding Details panel, click Add.
4. On the New binding operation panel, enter retrieveCompanyList for the
Operation name.
5. Choose REQUEST_RESPONSE as the operation. Click Next.
6. Enter the following:
a. TRDR in TPNName as the name of the CICS Transaction which the
Get_Company program runs.
b. TRADERBL in functionName.
7. Click Next to proceed to the input and output message panel for this
operation.
110 Managing Information Access to an EIS Using J2EE and Services Oriented Architecture
8. Import the input message by clicking Import.
a. On the File Selection Page, navigate to the
CICSJCA/com/itso/cicsjca/traderbl.ccp source file. Select it as shown in
Figure 5-7. Click Next.
Figure 5-7 Operation -COBOL import
b. On the COBOL Import properties panel, choose z/OS for the platform.
Here you specify the platform on which the CICS program is running. This
changes to the defaults for the z/OS platform. Accept the changes and
click Next.
Chapter 5. Using J2EE Connector Architecture 111
Figure 5-8 Operation- COBOL import properties
c. On the COBOL Importer panel, choose COMMAREA-BUFFER.
d. For the XSD type name, enter TraderblCommare as shown in Figure 5-9 on
page 112.
112 Managing Information Access to an EIS Using J2EE and Services Oriented Architecture
Figure 5-9 COBOL -COMMAREA Importer
e. Click Finish.
9. Select the Use the input message for output check box, and click Finish.
10.Click Finish on the Binding Wizard panel.
Chapter 5. Using J2EE Connector Architecture 113
Figure 5-10 shows the view of the bindings, port types, and messages that are
used for the retrieveCompanyList operation.
Figure 5-10 Operation retrieveCompanyList View
Generating EJB deployment code
To generate a session bean for the TraderblCICSECIService:
1. Right-click the TraderblCICSECIService.wsdl file. Choose Enterprise
Services
Generate Deploy Code.
2. Click Next to proceed to the Inbound Service Files panel.
3. Accept the defaults, and click Next to proceed to the EJB Inbound Service
Files panel shown in Figure 5-11 on page 114.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset