Restriction: This topic applies only when the Enterprise Server feature is enabled.
You are creating a REST type service interface for the ScheduleDemo COBOL application.
- From the Solution Explorer, right-click the
ProgramREST project; then click
Add >
New Item.
- In the left pane, expand
COBOL; then click
Native.
- In the center pane, click
Service Interface.
- In the
Name field, type
ProgramREST; then click
Add.
- Select
REST as your type of interface and
COBOL Program as your type of source; then click
OK.
At this point,
Visual COBOL adds the
ProgramREST service interface to the Solution Explorer and invokes the
Interface Mapper. You are ready to define the details of the service interface.