Testing the GWS service in stand-alone mode

For testing and development purposes only, the Genero Web Services Server application can be executed directly, without using the Genero Application Server (GAS).

  1. Use the Genero fglrun command to execute the GWS Server application, which must reside on the same machine:

    fglrun <gws application>

    This will start the GWS Server on the port specified by the FGLAPPSERVER environment variable. If this environment variable is not set for the user, port number 80 is used. For example, if FGLAPPSERVER is set to 8090, the server will be started on that port.

    Note: The user must not set the FGLAPPSERVER variable in production environments, since the port number is selected by the Genero Application Server.
  2. Obtain the WSDL information for your Service and write a test Client application. If the GWS Server in step 1 was started on your local machine, for example, the command to get the WSDL information would be:

    fglwsdl -o <test-client> http://localhost:8090/<service-name>?WSDL