Creating REST Services and Using REST in Productions
Creating REST Services in Productions
This section describes how to provide a REST service from an Business Service and to pass the request to a Business Process or Business Operation. It lists the best practice for different requirements.
Although InterSystems IRIS defines a class EnsLib.REST.Service
, that is a subclass of %CSP.REST
, we recommend that you not use this class because it provides an incomplete implementation of %CSP.REST
. The only feature that EnsLib.REST.Service
provides that is not available from %CSP.REST
is the ability to use a special port, but we recommend against using a special port because it does not provide the robustness and security you get by using a commercial web server and the Web port.