Create the AccessBooks Service Interface

Takes you through the steps required to create a REST service interface from the Book COBOL program.
  1. From the Solution Explorer, right-click the ProgramCORS project; then click Add > New Item.
  2. Expand COBOL, and then select Native.
  3. In the center pane, click Service Interface.
  4. In the Name field, type AccessBooks.
  5. In the Type of interface field, select Web Service.
  6. Click the JSON (RESTful) transport type.
  7. In the Type of source field, select COBOL Program, and then click OK.
Note: Ensure that the solution platform in Visual Studio matches the bitism of the server you are deploying to.

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