To publish a RESTful web service, you need to create a RESTful Web Service in your workspace and give it some endpoints.
A RESTful Web Service has fields, tables and resources just like a form but it also has endpoints which define the available operations for the web service. For more information see the documentation.