You need to reconfigure the AccessBooks service interface to enable it to accept an AJAX request from any origin, and then redeploy it to your enterprise server instance. To prepare the ESCORS enterprise server instance to accept the redeployed service interface, you need to delete the previously deployed service.
The Output window shows the progression of the deployment process.
Now that your service interface has once again been deployed as a service running on the ESCORS enterprise server instance, you can look at the details of the deployed service via the Enterprise Server Administration page.
In the row showing information for the ESCORS enterprise server instance, you should see that the Objects column shows the number of services that this enterprise server instance runs.
In the row showing your service, AccessBooks, you'll notice that the Current Status column shows all four operations as Available. This means that the service is ready to be accessed by a client. In addition, you should see that the Custom Configuration column for these operations now includes the following text"
[response headers] Access-Control-Allow-Credentials=false Access-Control-Allow-Origin=*
This indicates that your service is ready to be called by AJAX scripts.