Configuring applications for Genero Web Services

What do you need to configure a Genero Web Service application?

To add an application for a Genero Web Service, you only need to specify:

Example 1

In the following example, the path is a resource. The path can also be an absolute path to your application files. This configures a GWS server that any Web Service Client can connect to.

<APPLICATION Id="calculator" Parent="ws.default">
  <EXECUTION>
    <PATH>$(res.path.fgldir.demo)/WebServices/calculator/server</PATH>
    <MODULE>calculatorServer</MODULE>
  </EXECUTION>
</APPLICATION>

ws.default is the parent of any web services application.

Note: Because a DVM can have several services defined in it, the Web Service DVM is an application. The services defined inside are still named service. The published functions are named operations.

Example 2

<APPLICATION Id="echo" Parent="ws.default">
  <EXECUTION>
    <PATH>$(res.path.fgldir.demo)/WebServices/echo/server</PATH>
    <MODULE>echoServer</MODULE>
  </EXECUTION>
</APPLICATION>