Defining a REST Service Application
The REST service 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
The ISO 8601 format functionality is displayed on the Web Options sheet of the dialog only when the application selected in the Application Type list box on the Application sheet of this dialog is Rest Services or Rest Services, Non‑Gui. For details, see "ISO 8601 Date and Time Support", elsewhere in this chapter.
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 service 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 "