Deploy a web service using the Deployment App
Deploy and secure an web service using the Deployment App. Start with the Genero Archive (.gar) for the web Service.
-
Before you can use the Deployment App, you need to configure and enable the Genero Identity Provider (GIP) on your GAS. You use the StarterApp to perform the installation of the GIP. The Deployment App utilizes the Deployment Service. You must select these components in your GIP configuration at the time of installation.
-
You must have packaged your applications and services into a Genero Archive.Note:
When you create a Genero Archive (.gar) with fglgar gar using the --service wsname.42m option, a web service configuration (.xcf) file is automatically generated from the app. If you have an existing web service configuration (.xcf) that you would rather use, you must create a MANIFEST file pointing to your web service configuration file.
For more information about packaging a Genero Archive, see the Deploying apps with Genero Archive pages in the Genero Application Server User Guide.
The REST web service,
in its source code, should already use the WSScope
attribute to define the scopes
that will provide security globally for the service (on the WSInfo
record) or for
its functions. You should have a list of such WSScope
entries.
When you deploy the contents of a Genero
Archive using the Deployment App, the registration of the web service is managed for you. Unlike the
Genero application, however, the deployment does not include the generation of a
CLIENT_ID
or SERVER_ID
for the web service.