To create an OpenEdge project specialized for REST Web application development:
Select File > New > OpenEdge Project from the Progress Developer Studio for
OpenEdge main menu bar or the Project
Explorer view context (right-click) menu. The New OpenEdge
Project wizard opens and displays the Create an OpenEdge Project page.
Type a name in the Project name
field.
The root folder for the new project is created in your current
Eclipse workspace, unless you specify a different location.
To choose a different location for the project, click and clear
the Use default check box. Then either browse to, or
enter the path to the desired location.
Select Server from the left section.
Select REST as the
transport to create an OpenEdge project with a REST (Mapped RPC) service that
can be deployed to PAS for OpenEdge.
Click Next. The
Provide ABL Web App deploy details page
appears.
Specify the Web Application deploy options and provide the
Business Logic details (or leave the default settings). From the Supported servers list, select the servers that
will be the destination for your published web objects. The primary function of
these servers is to support publishing your code for running, testing, and
deploying your REST service. For example, select oepas1 from the list to publish your REST service. Then click
Next. The Create an ABL Service page appears.
In the Service Type options, fill up the details (or leave with default
settings). The default name of the REST service is the REST project name and
Service appended to it. For example, <projectname>Service. You can specify a different name in
the Service name field and a relative URI
in the Service relative URI field.
Filling up of Service description field is optional.
Click Next. The Select AVM and
layout options page appears.
Specify the OpenEdge AVM options and the project layout options
(or leave the default settings) and click Next. The Define PROPATH
page appears.
Leave the default settings or modify the PROPATH entries to be used by the project and
click Next. The Select database
connections page appears.
Select the database connections to be used by the project and click Finish.
You will see your project and its resources in the Project Explorer view.