Work through the following sections to prepare your project and Web service for deployment, and to deploy and verify.
To successfully deploy a REST Web service to an enterprise server instance, you need to first set some options that tell Visual COBOL the name of your enterprise server instance, and where to find certain files.
These are the data files accessed by the service.
This is the executable file you need to debug the service.
To ensure that your enterprise server instance does not encounter any port conflicts with other enterprise server instances that use the same listener port, stop all started enterprise server instances, if any, as follows:
Before deploying your service interface, you must start the ESREST instance where the MakeCheckAppt service will run.
After the list on the Server Explorer refreshes, the ESREST entry appears with a green icon , indicating that it is started.
The Console view shows the progression of the deployment process. If deployment was successful, you should see a message: Deployment completed with warnings. If you scroll up to see the log output, notice that the deployment process changed the direction of the slashes in some directory specifications. This is normal behavior for successful deployment.
If deployment ever fails, you should find a message in the Console view indicating why it failed. Also, the failure message contains the path to the deployment log file. You can type the address into a browser and view the log file from there.
Now that your REST Web service is deployed, you can look at its details in ESCWA.
This takes you to the Services page.
At the bottom of the right pane, you should see both operations marked as Available. This means that the service is ready to be accessed by a client.