Transports facilitates receiving and sending messages over a multitude of transport and application-level protocols. For more information on transports and to configure them globally, see Transports.
Follow the steps bellow to configure and enable transports at the service-level using the management console. Transport configurations are saved in the embedded registry and are loaded from there. We also support the traditional axis2.xml file-based transport configuration model. For instance, you can override the transport configurations in the registry by specifying different configurations in the <PRODUCT_HOME>/conf/axis2/axis2.xml
file. Transport configuration details given in the axis2.xml file gets priority over the transport configuration details saved in the registry. Any changes to axis2.xml file require a server restart to take effect. Also, HTTP and HTTPS transports are configured in axis2.xml. Therefore, they are always loaded at the server start-up from the axis2.xml.
- Log in to the management console and select Services > List under the Main menu.
- From the Deployed Services page that appears, click the service in which you want to configure transports.
- The service's dashboard opens. Click Transports from the Quality of Service Configuration panel
- The Transport Management page appears. It lists the available transport listeners and senders. From here, you can add new transports and remove/configure exposed transports separately, without restarting the server.
- To configure a transport, click the Configure Transport icon associated with a transport.
- Specify configuration parameters for the transport listener or the sender.
- Enter the parameter name and click Add to enter the value.
- Click pdate" once done. The updated settings take effect immediately and the corresponding transport listener or sender is restarted.
- If you do not want to configure parameters, you can click "Cancel." You will be navigated to a "Transport Management" page where you can:
- Enable a disabled transport.
- Disable or configure an enabled transport
To enable a transport listener or a sender, click the "Enable" link associated with the transport. You will be navigated to a page where the configuration parameters for the transport listener or sender can be specified. The required fields will be populated with default values, which you can change according to your requirements.
If any of the dependencies required to enable the transport listener or the sender are missing, the transport will not be enabled and you will be redirected to the Transport Management page. The Enable option is still available for that particular transport listener or sender, indicating that it hasn't been enabled. Therefore, it is important that you put all the required jars in the <PRODUCT_HOME>/repository/components/dropins
folder before attempting to activate a transport listener or a sender.
Note
You cannot disable HTTP and HTTPS transports because they are required by the management console and related administrative services.