Publishing the Procedures to a REST Service

You publish TDV views and procedures as Web or database services to make them available to consuming applications—in this case, a REST client application.

To publish the procedures to a REST service

1. Select the Web Services node under Data Services in the Studio resource tree.
2. Right-click to select New Composite Web Service.
3. For Data Service Name, enter a name for your Web service. For this example we use ACTdata.
4. Click OK.
5. Publish the following scripts to the Web service:
playdataByID
insertPlaydata
deletePlaydata

Select all three of the scripts from the resource tree, and right-click.

Select Publish.

Select the Web service to which you want the resource to be published.

Click OK.