Export an ABL Service
Print
- Last Updated: January 17, 2024
- 3 minute read
- OpenEdge
- Version 12.8
- Documentation
The Export ABL Web application wizard allows you to package an ABL service as a
.WAR file to deploy as a complete web
application or to export services incrementally by creating a .ZIP file that contains .PAAR files for each selected ABL REST and ABL Data Object (REST RPC)
and .gen and pdo.handlers file for ABL Data Object
(WebHandler). You can use the .WAR file or
the .ZIP file to deploy the packaged Web
application to a remote server.
To export as ABL Web Application:
- In the Project Explorer view, select the ABL WebApp project that contains the ABL services that you want to export as a Web application.
-
Right-click the project and click Export from the context menu. The Export ABL Web application
dialog box opens.
Note: You can also select the service, right-click, and select Export.
-
The Project drop-down
list displays the project you have selected in Step 1. You can select a
different project from the drop-down list.
Note: The Project drop-down displays only the ABL Web App projects in your current workspace.
- In the Destination drop-down list, specify a location or click drop-down displays only the ABL Web App projects in your current workspace.Browse to select a different location for the Web application.
-
Select one of the following options:
- Export ABL services for Progress Application Server to export
the services by creating a single
.WARfile for all the selected ABL services in the project. - Export services for incremental deployment to export services by
creating a
.ZIPfile that contains.PAARfile for each selected ABL REST,.PAARand.jsonfiles for each selected REST based Data Object Service,.handlersfiles for selected ABL WebSpeed services, and pdo.handlersand.genfiles of WebSpeed based Data Object Services.
- Export ABL services for Progress Application Server to export
the services by creating a single
- Select the Service Name check box to select all the services in the project or click the individual ABL services that you want to export.
-
Click Finish.
When you export an ABL Service of any type fully, a
.WARfile with PAS for OpenEdge content folder of ABL WebApp project is exported with some other files depending on the ABL Service type as follows:- When you export ABL Service of REST type,
.PAARfiles for each selected service is generated in the WEB-INF/adapters/rest/servicename location. - When you export ABL Service of WebSpeed type,
merge.properties files is generated in the
WEB-INF/tlrlocation. This file contains multiple entries for each handler of the selected services:[${oepas-app}.${oepass-webapp}.WEB] adapterEnabled=1 handler1=sampleHandlerClass:/uri1 srvrDbug=0 - When you export REST based ABL Service of Data
Object type,
.PAARfiles for each selected service is generated in theWEB-INF/adapters/rest/servicenamelocation andservicename.json - When you export WebSpeed based ABL Service of Data
Object type,
merge.propertiesfile is generated the file in the static folder.WEB-INF/tlrfile in the location with a single entry as follows:handler1=OpenEdge.Web.DataObject.DataObjectHandler:/pdo/servicename.jsonin the static folder andservicename.genfile inWEB-INF/openedgeis generated
When you export an ABL Service of any type incrementally, a.ZIPfile containing the static folder of ABL WebApp project and the openedge folder in the Web-INF folder is exported with some other files depending on the ABL Service type as follows:- When you export an ABL Service of REST type,
.PAARfiles for each selected service is generated in theWEB-INF/adapters/rest/servicenamelocation. - When you export an ABL Service of WebSpeed type,
servicename.handlersfile for each service is created in inWEB-INF/openedgelocation. Here is an example of.handlersfile:{ "version": "1.0", "servicename": "sampleWebSpeedservice", "handlers": [{ "className": "SamplehandlerClass", "URIs": [ "\/uri1", "\/uri2" ] }] } - When you export a REST based ABL Service of Data
Object type,
.PAARfiles for each selected service is generated in theWEB-INF/adapters/rest/servicenamelocation andservicename.jsonfile in the static folder. - When you export a WebSpeed based ABL Service of Data
Object type,
servicename.jsonfile in Static folder andservicename.genfile in theWEB-INF/openedgelocation are generated. A singlepdo.handlersfile for all the selected services is generated in theWEB-INF/tlrlocation as follows:{ "version": "1.0", "serviceName": "pdo", "handlers": [{ "className": "OpenEdge.Web.DataObject.DataObjectHandler", "URIs": ["\/pdo\/"] }] }
- When you export ABL Service of REST type,