Salesforce

How to export a REST or ABL webapp service from PDSOE to an existing REST application in PASOE

« Go Back

Information

 
TitleHow to export a REST or ABL webapp service from PDSOE to an existing REST application in PASOE
URL NameHow-to-export-a-REST-service-from-PDSOE-to-an-existing-REST-application-in-PASOE-by-using-a-paar-file-and-OEM
Article Number000175914
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Other: Progress Developer Studio for OpenEdge, OpenEdge Management
Question/Problem Description
How to export a REST service from PDSOE to an existing REST application in PASOE by using a paar file and OEM
How to export a ABL webapp service from PDSOE to an existing webapp in PASOE by using a paar file and OEM
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
1. Export the project or service as either a WAR or ZIP archive file.

File->Export->Progress OpenEdge-> ABL Web Application or
Right-Click the defined service name->Export->Progress OpenEdge-> ABL Web Application

User-added image

- Chose "Export ABL services for Pacific Application Server" to export the services by creating a single .WAR file for all the selected ABL services in the project.
- Chose "Export services for incremental deployment" to export services by creating a .ZIP file that contains .PAAR file for each selected ABL REST and Data Object service and .handlers files for selected ABL WebSpeed services. 

2. Once the file is created, navigate through the file's subdirectories to <filename>\WEB-INF\adapters\rest\ and extract the <servicename>.paar file. 
3. In OEM navigate to Resources-> Pacific Application Server-> "PASOE Instance name"-> ABL Applications-> "PASOE Instance name"-> ABL WebApps-> "REST/WebApp name"-> REST transport -> Deploy
4. Select the paar file from the directory where it was extracted to. 

User-added image

Note: The application name should match the "Service relative URI" configured in PDSOE for the service under REST Resource URI Editor. By doing so the URI in OEM will match the expected service URI. For example:

If the service has a "Service relative URI" equal to "/test_projectService" in PDSOE when importing the paar file in OEM the "application name" should be "test_projectService" so the URI in OEM for the service will be "http://<host>:<port>/<app name>/rest/test_projectService/", otherwise the URI will be broken in OEM. 
Resolution
Workaround
Notes
This article assumes a REST application other than the default ROOT application has already been deployed to an PASOE instance. 
Keyword Phrase
Last Modified Date9/14/2016 8:50 PM

Powered by