Show TOC

SAP Event Stream Processor REST ProviderLocate this document in the navigation structure

The SAP Event Stream Processor REST Provider receives data from a REST Web service client and publishes it to ESP streams or windows within ESP projects. You can also use the REST Provider to deploy, start, update, stop, and remove projects.

The main difference between Web service providers and adapters is that providers have more extended functionality in comparison with adapters. Specifically, providers can receive requests from multiple Web services and publish data to multiple projects while adapters can only send and receive data from one source and publish it to one project. Additionally, some providers, such as the REST provider, provide the ability to deploy, start, and stop projects.

Install and configure your own Web service client for REST before configuring and using the ESP REST Provider. You can expose your ESP project as a Web service, and send requests to it using your Web service client.

The REST provider sends REST requests in JSON format over HTTP. Use a REST Web service client to send REST requests to the REST provider and publish data to an SAP Event Stream Processor project that has been exposed as a Web service. See REST Requests for Streams and Windows and REST Requests for Life cycle Management of a Project for additional details on using REST requests to communicate with ESP projects. You can also send gzip format compressed data HTTP requests to the REST provider to optimize bandwith usage. Bandwith compression may cause possible performance issues. See Example: Sending a JSON Request Using a REST Web Service Client for additional details on using gzip HTTP requests.


REST Provider diagram

For installation details for the provider, see the section on Performing a Custom Installation in the SAP Event Stream Processor: Installation Guide. If you enabled the ESP Web Services Provider using the installer, the configuration is complete and the provider is ready for use. If you did not enable the provider using the installer, see Configuring the ESP REST Provider for instructions on manually configuring the provider.

For instructions on exposing a project as a Web service, see Exposing a Project as a Web Service Using the ESP Web Services Provider in the SAP Event Stream Processor: Studio Users Guide.