docs.intersystems.com
Home / Using REST Services and Operations in Productions / Creating REST Services in Productions

Using REST Services and Operations in Productions
Creating REST Services in Productions
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


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.
If you want to:
For details on implementing a subclass of %CSP.REST, see Creating REST Services.
For an example of using the Ens.Director.CreateBusinessService() method, use Studio to examine the class Demo.ZenService.Zen.WeatherReportForm.cls. Although this is a Zen service rather than a REST service, you would use the Ens.Director.CreateBusinessService() method in the same way.
For details on using the pass-through REST service, see the sections on pass-through business services in Configuring ESB Services and Operations and Pass-through Service and Operation Walkthrough in Using a Production as an ESB.
Note:
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.


Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-05-14 12:01:37