Software AG Products 10.7 | Using CentraSite | Runtime Governance | Run-Time Policy Management | Built-In Run-Time Actions Reference (CentraSite Business UI) | Built-in Actions for Run-Time Policies (CentraSite Business UI) | Require HTTP / HTTPS
 
Require HTTP / HTTPS
If you have a native API that requires clients to communicate with the server using the HTTP and HTTPS protocols, you can use the Require HTTP or HTTPS protocol action.
This action allows you to bridge the transport protocols between the client and the Mediator. For example, suppose you have a native API that is exposed over HTTPS and an API that receives requests over HTTP. In this situation, you can configure the API’s Require HTTP or HTTPS action to accept HTTP requests and configure its Routing action to route the request to the native API using HTTPS.
Input Parameters
Protocol
(String). Specifies the protocol over which the Mediator accepts requests from the client.
Note:CentraSite supports HTTP version 1.1 only.
Important:
Before you deploy an API over HTTPS, ensure that the Integration Server on which the Mediator is running has been configured for SSL. In addition, make sure you specify an HTTPS port in the Mediator’s Ports Configuration page. (In the Integration Server Administrator, go to Solutions > Mediator > Administration > General and specify the port in the HTTPS Ports Configuration field.) For details on the Port Configuration page, see Administering webMethods Mediator.)
Value
Description
HTTP
(Default). Mediator accepts requests that are sent using the HTTP protocol.
HTTPS
Mediator accepts requests that are sent using the HTTPS protocol.
You can select both HTTP and HTTPS, if needed.
SOAP Version
(For SOAP-based APIs). (String). Specifies the SOAP version of the requests which the Mediator accepts from the client.
Value
Description
SOAP 1.1
(Default). Mediator accepts requests that are in the SOAP 1.1 format.
SOAP 1.2
Mediator accepts requests that are in the SOAP 1.2 format.