Walks you through the process of creating the CarTracker service interface in which to define a JSON RESTful Web service.
- From the
Solution Explorer, right-click the
ProgramRESTAPI project, then select
Add >
New Item from the context menu.
- In the left pane of the
Add New Item window, expand
Installed > COBOL, and then select
Native.
- In the center pane, select
Service Interface.
- In the
Name field, type
CarTracker, and then click
Add.
- From the
Type of interface drop-down list, select
Web Service.
- Under
Transport Type, click
JSON (RESTful).
- From the
Type of source drop-down list, select
COBOL Program.
- 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.