CentraSite 10.5 | CentraSite User’s Guide | Runtime Governance | Virtual Service Asset Management | Managing Virtual Service Assets through CentraSite Business UI | General Procedures across Assets | Publishing and Unpublishing Services to and from Runtime Gateways
 
Publishing and Unpublishing Services to and from Runtime Gateways
CentraSite allows you to publish and unpublish services to and from webMethods API Gateway and webMethods Mediator.
To publish and unpublish services to and from API Gateway, you must have the following roles or permissions:
*CentraSite Administrator
*Organization Administrator
*API Gateway Publisher
*Instance-level Modify permission for API Gateway
To publish and unpublish services to and from Mediator, you must have the following roles or permissions:
*CentraSite Administrator
*Organization Administrator
*Mediator Publisher
*Instance level Modify permission for Mediator gateway
*If you have the CentraSite Administrator role, you can publish and unpublish services to and from any gateways within any organization.
*If you have the Organization Administrator role, API Gateway Publisher role, or Mediator Publisher role for an organization, you have the ability to publish and unpublish services to and from the API Gateway or Mediator gateway within the specific organization.
The following section describes some aspects of runtime you need to consider when you publish and unpublish services to API Gateway and Mediator gateways:
*You can only publish virtual services to the gateways for which you have the required roles or the Modify instance-level permission.
*You cannot publish a native service to both API Gateway and Mediator gateways.
*When publishing a virtual service to both API Gateway and Mediator gateways in a single step, only if publishing to at least one Mediator gateway was successful, CentraSite will publish the service to API Gateway.
*When publishing a service to one or more gateways, if CentraSite encounters a publish failure with one of the gateway, it immediately ignores the failure gateway and proceeds with the next gateway. Any gateway that encountered failure during the publish process is displayed in the Publish Log.
*When trying to publish a service to a set of gateways, if the service is already published to a selected gateway, then that service is republished to that particular gateway.
Note:
When CentraSite version 9.12 is configured with Mediator version 9.10 or earlier, publishing and republishing a Virtual REST Service asset with HTTP Patch method fails in Mediator. This is because, Mediator version 9.10 and earlier do not support the Axis Free Mediation stack. Instead, the Mediator versions 9.10 and earlier support the WSStack Mediation stack. In order to publish a Virtual REST service with HTTP Patch operation, it is mandatory that the Mediator gateway is configured for the Axis Free Mediation stack. In addition, make sure that the Mediator instance is of version 9.12 or above.