Software AG Products 10.5 | Using CentraSite | Runtime Governance | Virtual Service Asset Management | Managing Virtual Service Assets through CentraSite Business UI | General Procedures across Assets | REST Service Deployment and Redeployment of REST services in CentraSite
 
REST Service Deployment and Redeployment of REST services in CentraSite
A REST service can be deployed to Mediator in two different modes: wsstack and axis-free.
The REST service deployment mode can be configured in the configuration file, centrasite.xml.
....
<DeploymentSettings>
<!-- axis-free or wsstack -->
<RestServiceStack>axis-free</RestServiceStack>
</DeploymentSettings>
...
The configured deployment value is exposed in the About page of CentraSite Business UI.
At deployment, the configured value is taken for generating the virtual REST service in Mediator. The resulting mode can also be viewed in the service page of Mediator.
At redeployment, the current state together with the configuration setting is used to determine the final deployment mode. Following table illustrates the behavior on a REST service redeployment:
Configuration value
Service deployment mode
Mode after redeployment
wsstack
wsstack
wsstack
wsstack
axis-free
axis-free
axis-free
wsstack
axis-free
axis-free
axis-free
axis-free