To create a COBOL program-based operation

  1. In Application Explorer, expand Web Services.
  2. Right-click the Web service to which you want to add an operation, and click New > Operation.
  3. Define the new operation by specifying:
    • A name for the new operation
    • An entry point, which you select from the list of entry points available in the program
  4. If you require any user exits for your operation, specify them on the User Exits tab.
  5. For a JSON (RESTful) Web Service operation, you can specify a path and HTTP method on the HTTP tab.
  6. Click OK.