Import the InvokeReverseJSON project
- From the Eclipse main menu, click
File > Import.
- Expand
General, and select
Existing Projects into Workspace, and then click
Next.
- Select
Select root directory, then browse to the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\CICS\Classic\CWS\JSON\Requester\TopDown directory, and then click
Select Folder.
- On the
Projects list, ensure that
ReverseJSON is checked.
- 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
- In the
Application Explorer view, right-click the
InvokeReverseJSON project.
- Select
New > Folder > Folder from the context menu.
- In the
Folder name field, type
bundles, and then click
Finish.
- In the
Application Explorer view, right-click the
bundles folder you just created.
- 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:
- Ensure you have a 64-bit Java installed and added to the PATH environment variable.
- Open the Windows Services Manager.
- Click
Micro Focus HA Cloud, and click
Start the service.
- Alternatively, you can execute the following command from a command prompt to start the service:
net start mfhacloud
To start the service on UNIX:
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- Open a terminal and set up the COBOL environment in it.
- 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.