Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge REST Web Services : REST Applications : REST services in OpenEdge : Planning the URI structure of a REST service : Create services
 
Create services
First, you create one or more services, each with a unique service_name. You also define the URIs for all the resources relative to the service. REST_resource is a path that can branch to multiple levels of parent-child nodes. But each individual REST_resource uniquely identifies a single REST resource. See Adding REST resources to a service for more information.
Note that the parent node /rest, in the URI structure. It is included to illustrate that you can define a relative URI path structure to suit your needs. When the service name follows the /rest path element, it distinguishes the AppServer hosted resources from the static HTML, JSON, and JavaScript resources that may also be deployed as part of the application.
Also see The service-relative URI.