Running the ready-made import

You can import the ready-made Taderc25 import, a service that invokes a program on a CICS ECI server with multiple possible outputs, instead of building it yourself. This topic provides instructions on how to take the imported sample and view it with various editors. It also shows you how to run it using the WebSphere test environment.

Prerequisites

If you have already imported the Taderc25 ready-made import, you can skip this Prerequisites step and go to the Working instructions. If you have not imported the resources, click the following link to launch the import wizard:

Import the complete ready-made sample

In the wizard, select Project 'cicseci601' is missing and is required. Check this to continue. Click Finish to complete the import. Wait until the workspace has rebuilt. An icon in the bottom right corner will indicate the state of completion.

Working instructions

Follow these instructions to browse the Taderc25 import, its interface and business objects:

  1. You will see some errors because the sample does not include the actual CICS ECI resource adapter. You can still view the objects listed in the following steps. If you want to correct the errors, import the CICS ECI resource adapter as shown in Creating a CICS connector project. You will find it in this path: <installdir>Resource Adapters\cics15.
  2. Some errors will be caused by importing the resource adapter in the previous step. Follow these steps to remove them:
    1. Double-click on ESDiscovery > ESDiscovery to open the assembly diagram.
    2. Select the Taderc25 import component.
    3. Click the Properties view.
    4. Click the Binding tab. Wait until the binding information is loaded.
    5. Close the ESDiscovery assembly diagram.
    6. From the menu, select Project > Clean... Click OK.
    7. Click the Problems view. All the warnings should be gone.
  3. Expand the ESDiscovery module.
  4. Beneath ESDiscovery, right-click Taderc25 and select Open. The Taderc25 import opens in the assembly editor. Select the icon. Selecting Properties will show details such as the interfaces. Since there is no real resource adapter shipped with this sample, you will not see any binding properties. If you followed these steps with your own resource adapter or imported the resource adapter as discussed previously, however, the binding properties would appear.
  5. Expand Interfaces. Right-click Taderc25. From the pop-up menu, select Open With > Interface Editor. The interface opens in the interface editor.
  6. Expand Data Types. Right-click a business object such asBADCUST representing a customer with an overdue account. From the pop-up menu, select Open With > Business Object Editor. The business object opens in the business object editor.
  7. You can run the ready-made sample in the test environment. However, you will need to have set up the Administration Console appropriately with your own resource adapter and server. Specifically, you will need to do the following steps:
    1. Start the server.
    2. Open the Administrative Console on the server.
    3. Installing the CICS ECI Resource Adapter on the server.
    4. Adding a J2C Authentication Data Entry on the server.
    5. Adding a J2C Connection Factory on the server.
    6. Close the Administrative Console on the server.
    Once set up, you can run the sample as shown in Testing the CICS ECI component.
Related concepts
Sample: Overview of enterprise access to a CICS ECI server
Related tasks
Building the sample

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.