Try OpenEdge Now
skip to main content
Online Help
Data Object overview : Tasks : Working with Data Objects : Creating a Data Object Service
 
Creating a Data Object Service
The New Data Object Service wizard allows you to define a Data Object Service for a set of existing Data Object resources. Data Object resources are ABL class and procedure files with Data Object interface annotations.
Note: A default Data Object Service with the project name and Service appended to it is created when you define an OpenEdge Data Object project. For example, <projectname>Service. You can see the defined Data Object Service under the Defined Services node in your project. For more information, see Creating a Data Object project wizard.
To define a Data Object Service:
1. From the Project Explorer view, select an OpenEdge project for which you want to create the Data Object Service.
2. Right-click the Data Object project, and then select New > Data Object Service on the context menu. The New Data Object Service wizard appears.
Note: If you do not see Data Object Service on the context menu, then select Other. On the Select a wizard dialog, select Progress OpenEdge > Service > Data Object Service, and then click Next.
3. In the Service name field, specify a name for the Data Object Service.
Note: You cannot have a duplicate Data Object Service name under the same OpenEdge project.
4. In the Service relative URI field, specify a resource Uniform Resource Identifier (URI). The default is the service name. This is relative URI for all the resources defined in the Data Object Service. The relative path must start with "/". For example, /service_relative_URI.
5. In the Service description field, enter a description for the Data Object Service. This is an optional field.
6. From the Project drop-down, select a project for which you want to generate the Data Object Service. By default, the field displays the project you have selected in Step 1.
7. From the OE Web Servers list, select the OE Web Server instances with which you want to associate the defined Data Object Service.
8. Click Next. The second page of New Data Object Service wizard appears wherein you can select the Data Object resources. Data Object resources are ABL class and procedure files with Data Object interface annotations.
9. From the Resources list, select the Data Object resources. This list displays the Data Object resources of your current project.
Note: Data Object resources with invalid names and names which include numeric characters, and those which include preprocessors are not supported by Data Object. If any such Data Object resource is selected, the Data Object Service will fail and display an error message.
10. Click Select All to add all the available Data Object resources.
Note: Click Deselect All to clear the selection of the Data Object resources.
11. Click Finish.
This creates the Data Object Service under the Defined Services node in the selected OpenEdge Data Object project.
Note: When you define a Data Object Service for a non-Data Object project such as OpenEdge or AppServer project except ABL Web App project, the Data Object facet gets enabled for the project. The project behaves as a Data Object project enabling you to develop Data Object applications. The Project Facets page displays the facets associated with your current project.