Exposing a Project as a Web Service Using the ESP Web Services Provider

Set the Web Service Enabled option to true in the ccr file to expose a project as a Web service using the ESP Web Services Provider.

Prerequisites
Task
  1. Select File > Open > Project... and open the project you want to run.
  2. Double-click the project configuration file (<projectname>.ccr) to open the CCR Project Configuration editor.
  3. Select the Advanced tab.
  4. Choose a project deployment type from the Project Deployment Details window. The options are:
    Type Description
    Non-HA Non-HA deployments create one project option item and one instance item as children under the project deployment item.
    HA HA deployments create one project option item and two instance items as children under the project deployment item. HA provides for hot project failover between instances.
  5. Set the value of the Web Service Enabled option to true in the Project Deployment Details window.
  6. Save the updated ccr file.
  7. For the changes to take effect, use Studio or esp_cluster_admin to stop and remove the project from the node, then redeploy (add) the project. Or restart the cluster on which the project runs.
  8. To run the project, either:
    • Click Run ESP Project run project in the main toolbar (in either the SAP Sybase ESP Authoring or the SAP Sybase ESP Run-Test perspective) to run the project in the default workspace, or,
    • Click the drop-down arrow next to the Run ESP Project tool and choose Run ESP Project in Workspace. Then select the workspace where this project will run.
    The project runs and shows results in SAP Sybase ESP Run-Test perspective.