REST (Representational State Transfer) is a way to provide access to web resources using a uniform and predefined set of stateless operations. Refer to the Wikipedia pages of Representational State Transfer for more information on REST.
Today, there are already many services, which speak REST. The Designer has a REST adapter ready. It enables you to use any REST service as a backend for your service implementations.
A REST adapter needs information on the REST API to be called, means the REST resources and their interface. You can provide this information in two ways:
Via a connector (see image above) This is the easiest way to provide the necessary information. The Designer allows for importing different connector configurations (see Creating an OpenAPI Connector for more information about that).
Via a manual data model If you do not have a configuration file to import at hand, you can create the necessary resources and interface definitions manually in the Implementation folder (see Modeling Data Structures for more).
RESTAdapter_SupportManager_Example
Click the icon to download a simple example model that shows the usage of the REST adapter in Scheer PASDesigner.
Available Connectors
Find below a list of all connectors that are available for usage with the REST adapter.
OpenAPI Connector A connector that can be generated from an OpenAPI description file (YAML).
Accessing a REST Resource
Once you have created a connector to your service (or created the necessary data model by hand), you can add REST operations from the connector to any diagram to create a REST adapter to your service.
Adding a REST Operation to a Diagram
Expand the data model in the service tree.
You can drag out operations from the data model to any diagram: