Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


WSO2 Carbon and all Carbon-based products are shipped with a configuration file named axis2.xml. This XML configuration file can be found at <CARBON_HOME>/repository/conf/axis2 directory. This is similar to the axis2.xml file that ships with "Apache Axis2" and "Apache Synapse." It contains the global configuration for WSO2 Carbon and the Carbon-based products. The axis2.xml configuration generally includes configuration details for modules, phases, handlers, global configuration parameters and transports. The elements <transportReceiver> and <transportSender> are used to configure transport listeners and senders respectively. In the axis2.xml file that comes with WSO2 Carbon or any Carbon-based product, some transports are already configured and enabled by default, including the HTTP and HTTPS transports.


Although the axis2.xml file contains configurations for HTTP/S transports by default, they are not used by WSO2 products. Instead, the products use the HTTP/S transport configurations in Tomcat-level; therefore, changing the HTTP/S configurations in the axis2.xml file has no effect.

The HTTP transport receiver configuration is something similar to the following as mentioned in the axis2.xml file.


Code Block
<transportReceiver name="http" class="org.wso2.carbon.core.transports.http.HttpTransportListener">
     <!-- Uncomment the following if you are deploying this within an application server.
          You need to specify the HTTP port of the application server -->
     <parameter name="port">9763</parameter>
     <!-- Uncomment the following to enable Apache2 mod_proxy. The port on the Apache server is 80 in this case. -->
     <!--<parameter name="proxyPort">80</parameter>-->

<transportResiever> attributes and elements: