Create the CarTracker Service Interface

Walks you through the process of creating the CarTracker service interface in which to define a JSON RESTful Web service.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
  1. From the Solution Explorer, right-click the ProgramRESTAPI project, then select Add > New Item from the context menu.
  2. In the left pane of the Add New Item window, expand Installed > COBOL, and then select Native.
  3. In the center pane, select Service Interface.
  4. In the Name field, type CarTracker, and then click Add.
  5. From the Type of interface drop-down list, select Web Service.
  6. Under Transport Type, click JSON (RESTful).
  7. From the Type of source drop-down list, select COBOL Program.
  8. Click OK.

At this point, Visual Studio adds the CarTracker service interface to the Solution Explorer and invokes the Interface Mapper. You are ready to define the details of the Web service.