Defining a REST Service Application
The REST services application is defined from the Define Application dialog in the standard way. For more details, see "
On the Application sheet, select Rest Services or Rest Services, Non-Gui as the Application Type.
On the Web Options sheet, select your
From version 2018.0.01, the Exclude Protected Properties check box enables you to specify whether the application definition includes or excludes protected properties from serialization and object construction. When this check box is:
-
Unchecked (the default), protected properties are included in any serialization of the object and will be included when constructing the object from the received XML or JSON structure.
-
Checked, protected properties are not included in any serialization of the object and are ignored when constructing the object from the received XML or JSON data.
The setting of this check box is loaded when the REST service is initiated, and any change to the check box setting does not take effect until the REST service application is restarted.
Read‑only properties are always excluded from object construction from the received XML or JSON data.
The generated description includes only the classes and the superclasses referenced by the specified parameter values and return types of the communications methods of the JadeRestService subclass selected for the application. Note, however, that no class description is included if those methods return only Any or a primitive type.
In the jadehttp.ini file, add an [application‑name] section to enable clients to connect to the JADE REST services application. Set the parameter values to match the configuration information you specified on the Define Application dialog.
[RestApp] ApplicationType=RestServices TcpConnection=localhost TcpPort=45000
For more details about configuring jadehttp for remote connections, see "