Migrate REST URLs <FUTURE>
- Last Updated: May 22, 2025
- 3 minute read
- OpenEdge
- Version 12.8
- Documentation
It is important to understand both the migration options and how to preserve or adapt your REST service URLs when you are transitioning from the Classic Application Server (with REST Adapter) to Progress Application Server (PAS) for OpenEdge.
REST clients for PAS for OpenEdge always connect using the session-free application model, which differs from the session-managed model used in Classic Application Server. This change improves scalability and performance but requires some adjustments during migration.
When you migrate REST services from Classic Application Server/REST Adapter to PAS for OpenEdge, you can use the same URL for your REST Service. To do this you simply configure your PAS for OpenEdge instance and ABL web application name, this ensures the URLs are identical to the ones used to access the Classic Application Server.
- Use existing REST service archives—You can deploy your existing
.paarfiles directly into a PAS for OpenEdge instance using thedeployRESTcommand.This method retains the same URL scheme as theClassic Application Server, provided you configure the PAS for OpenEdge instance and ABL web application name appropriately.
- Use Progress Developer Studio for OpenEdge (PDSOE) to create new REST services using the
same or a new URL scheme.
- Annotations (recommended)—Use the Define Service Interface wizard
- GUI Mapper—Use the REST Expose Editor for a visual approach.
For more information about annotations, see Annotate ABL resources using the Define Service Interface wizard.
- Convert to WEB services using the built-in Progress OpenEdge Data Object Handler (DOH) or you can write your own custom WebHandler. The WEB transport uses ABL code to dispatch HTTP/S requests to the right business logic. You can annotate your source code to create a Progress Data Object (PDO) service or define the service using a map file.
REST client connections
When using the REST transport described in Options 1 and 2 above, you can use the
same URLs by naming the ABL web application the same as your
rest-app-name used for Classic Application Server. You can also
omit (ROOT) or change the web application name to define a new URL scheme.
- Syntax—
https://host:port/[web-app]/rest/service-name/resource-path - Example—
https://localhost:8810/samplewebapp/rest/CRService/Customer
| Classic Application Server | https://host:port/CustMaint/rest/CustomerSvc/CustConnect |
| Root Web App | https://host:port/rest/CustomerSvc/CustConnect |
| Named Web App | https://host:port/CustMaint/rest/CustomerSvc/CustConnect |
For more information about PAS for OpenEdge REST services, see Run-time architecture and data access and Develop an ABL service using the REST transport.
Preserving or Adapting REST URLs
The only difference between the Classic Application Server and PAS for
OpenEdge regarding the URLs used to connect to and access OpenEdge REST and Data
Object Services, is allowing access to the default ROOT ABL web application on PAS for OpenEdge.
|
|
ROOT ABL web application, you could use this
URL:
|
Note that OpenEdge ABL does not have a native REST CONNECT( ) method at this time. However, you can test a
REST connection through a browser.
For more information about creating and connecting to both REST web services and Data Object Services, see the topics on these services in Develop ABL Services.