You can use the Define Service
Interface wizard to add the Data Object interface annotations to your
existing ABL class and procedure files. Defining the service interface involves
adding Data Object interface annotations to the ABL class (.cls) and procedure (.p) files.
You can then expose the Data Object annotated ABL class and external procedure files
as Data Object resources.
Note: To create a Data Object resource from an ABL external
procedure, the ABL external procedure must be coded to be run as a singleton
procedure. For more information, see the SINGLETON
option of the RUN statement in OpenEdge Development: ABL Reference guide.
To add Data Object interface annotations to an ABL class or procedure
file:
The selected ABL class and procedure files are annotated with Data
Object interface annotations, and this completes the generation of a Data Object
resource for each file.
Note: When you add Data Object
interface annotations for ABL resources from a non-Data Object project such as
OpenEdge AppServer facets, like REST, AppServer, the Data Object facet is enabled
for the project and a Data Object Service gets created. The project behaves as a
Data Object project using which you can develop Data Object applications. When you
add annotations to any class or procedure file, if the AppServer facet is not
available for the project then the project is converted to an ABL Web App project
with additional ABL REST Service and ABL Data Object Service facets and a REST based
ABL Data Object service is created. The Project
Facets page (select on the project context menu) displays the facets associated with your
current project.