Product Information > JADE Developer’s Reference > Chapter 11 - Building Web Services Applications > Defining a REST Service Application

Defining a REST Service Application

The REST services application is defined from the Define Application dialog in the standard way. For more details, see "Defining Applications", in Chapter 3 of the JADE Development Environment User’s Guide.

On the Application sheet, select Rest Services or Rest Services, Non-Gui as the Application Type.

On the Web Options sheet, select your JadeRestService subclass and specify the required IIS connection information.

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 "[application-name] Section", in Chapter 3 of the JADE Installation and Configuration Guide.