Try OpenEdge Now
skip to main content
Web Services
Introduction : Overview of REST Web services in OpenEdge : Creating OpenEdge REST applications : Creating REST Web services
 
Creating REST Web services
Each OpenEdge REST application includes at least one REST service. Multiple REST services can be included when generating a REST application, or can be included later as add-ons.
To create a REST service in OpenEdge:
1. Specify a unique name for the REST service.
2. Specify a root URI for the REST service.
Any resources added to the REST service will be specified relative to the root URI. (Note that the root URI does not specify a domain name, since an individual REST service could be deployed on any number of Web servers.)
3. Map addresses to the resources exposed by the REST service interface.
Addresses specify the path to a resource relative to the root URI and can contain HTTP methods (GET, PUT, POST, DELETE, INVOKE).
Note that in REST, anything that must be accessible must be mapped with a unique URI. This includes input and output parameters. (Compare with WSA and other SOAP architectures, where you generate APIs for parameters rather than treating them as resources.
Creating REST Web services is fully supported by wizards and editors in Progress Developer Studio. For more information about Progress Developer Studio tools, see the online help volume, Progress Developer Studio for OpenEdge Guide.
Also see REST services in OpenEdge.