Developing Web applications / 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:
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.
<APPLICATION Id="echo" Parent="ws.default"> <EXECUTION> <PATH>$(res.path.fgldir.demo)/WebServices/echo/server</PATH> <MODULE>echoServer</MODULE> </EXECUTION> </APPLICATION>