You can create ABL Services using the New ABL Service wizard and deploy them to PAS.
1. Select File > New > ABL Service from the Progress Developer Studio for OpenEdge main menu bar. The New ABL Service wizard opens.
Note: You can also right-click an ABL Web App project, and then select New > ABL Service from the context menu. You can also access the New ABL Service wizard while creating the ABL Web App project.
2. By default, the Project field displays the currently open project to which you can associate the ABL service. Click Browse(...) if you want to select a project other than the current one.
3. Select the type of ABL service that you want to create:
To create an ABL Service of WebSpeed type, select WebSpeed (WebHandler).
1. Enter a Service name to display the name of the service.
2. Enter a name in Create new to create a new Web handler or click Select existing and then click Browse to add an existing Web handler.
3. Click Add to enter a Resource URI.
The Resource URI must start with "/".
You can edit or remove a resource URI using Edit and Remove. Use the Up and Down keys to sort the resource URIs.
When you finish creating the ABL service, the WebSpeed service is generated and appears under the Defined Services node.
To create an ABL Service of REST type, select REST (Mapped RPC).
1. Enter a Service name to display the name of the service.
2. Enter a relative path for all the resources to be defined in Service relative URI. For example, /Customer.
The relative URI must start with "/".
3. (Optional) Enter Service description for the REST service.
When you finish creating the service, the REST service is generated and appears under the Defined Services node.
To create an ABL Service of Data Object type, select Data Object .
1. Select a service provider. Select WebSpeed WebHandler to create a WebSpeed based Data Object Service, or REST RPC for a REST based service.
2. Enter a Service name to display the name of the service.
3. Enter a relative path for all the resources to be defined in Service Relative URI. For example, /WebAppService.
The relative URI must start with "/". For WebSpeed service provider based Data Object Service, this field is disabled and the default value is the service name prefixed with /.
4. (Optional) Enter Service description for the Data Object Service.
5. Click Next. The annotated business entities are listed. Select the check boxes for the resources that you want to add.
Note: An ABL Service can only be deployed to PASOE instances. Use the REST or Data Object Service wizards to create services for Classic AppServer. Note that the Data Object (WebHandler) service type is only available on PASOE.
4. Click Finish.
When you finish creating the service, the Data Object Service is generated and appears under the Defined Services node. A new facet for ABL Data Object WebSpeed Service for Data Object Service of WebSpeed type is added.
When you create a Data Object Service using the New ABL wizard, a service.json file is generated for REST based Data Object Service and service.json and service.gen files are generated for WebSpeed-based Data Object Service for an annotated business entity class file.