The WSO2 SOA platform inherits the capabilities of Axis2, which allows the platform to be extended using modules. After writing a module, you can add it to a Carbon server.The global modules affect all the services deployed within the server.
If you are deploying a module in Axis2 manually, you must create a directory with the name "modules" in the
webapps/axis2/WEB-INF directory of their servlet container, and then copying the MAR file to that directory. For more information, refer to http://axis.apache.org/axis2/java/core/docs/modules.html
Follow the instructions below to upload a Module to the server using the management console:
The Axis2 module management capability is provided by the following feature in the WSO2 feature repository:
Name: WSO2 Carbon - Module Management UI Feature
Name: WSO2 Carbon - Module Management Core Feature
The module management UI and server features above are currently bundled in the service management feature given below:
Name: WSO2 Carbon - Service Management Feature
The service management feature is added by default in all service hosting WSO2 middleware products. If it is not included in the product distribution you are using, you can install it by following the instructions given in the Feature Management section.
Log in to the product's management console and click Add under Main -> Modules.
Click Browse to select the module archive file (MAR) you want to upload. For example,
Use the "+" button to upload more than one module. The "-" button removes the additional upload option.
- Click Upload. If the file is uploaded successfully, a message appears prompting you to restart the server to activate the module. Click OK.
- When the server restarts, the module will be active and displayed on the Deployed Modules page.