Walks you through the process of creating a REST service interface from the Schedule COBOL program.
- 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
MakeCheckAppt; then click
Add.
- In the
Type of interface field, select
Web Service.
- Under
Transport Type, click
JSON (RESTful).
- In the
Type of source field, select
COBOL Program; then click
OK.
At this point, Visual Studio adds the
MakeCheckAppt service interface to the Solution Explorer and invokes the
Interface Mapper. You are ready to define the details of the Web service.