Set Up the InvokeReverseJSON Project

Import the InvokeReverseJSON project

  1. From the Eclipse main menu, click File > Import.
  2. Expand General, and select Existing Projects into Workspace, and then click Next.
  3. Select Select root directory, then browse to the $COBDIR/demo/cics/cws/json/requester/topdown/eclipse directory, and then click Open.
  4. On the Projects list, ensure that ReverseJSON is checked.
  5. Under Options, check Copy projects into workspace, and then click Finish.

    The Application Explorer view now shows the InvokeReverseJSON project, which is created in an InvokeReverseJSON subdirectory of your current Eclipse workspace, and is built automatically.

Add project folders for generated request and response bundles

  1. In the Application Explorer view, right-click the InvokeReverseJSON project.
  2. Select New > Folder > Folder from the context menu.
  3. In the Folder name field, type bundles, and then click Finish.
  4. In the Application Explorer view, right-click the bundles folder you just created.
  5. Using the same method, create subfolders named REQBNDL and RESPBNDL respectively.

Start the HACloud Session Server

Ensure that you have updated the Micro Focus HACloud service property to start up automatically. For instructions on how to do so, see Starting the HACloud Session Server.

To start the service on Windows:

To start the service on UNIX:

  1. Ensure that the installed Java is added to the PATH environment variable.
  2. Start the Enterprise Server region that runs the application you want to connect to.
  3. Open a terminal and set up the COBOL environment in it.
  4. Run the following to start the session server:
    startsessionserver.sh

    Check the terminal for the messages that the Micro Focus HACloud Session Server has started.