The WSO2 SOA platform has the capability of Axis2 to deploy a service as an archive file. You can bundle all your service-related resources, service classes, and third-party libraries and then deploy the archive file.
To deploy the service, all you have to do is locate the archive file and upload it.
To upload your service archive file, you first need to have all the class files and the service.xml files in the archive directory. Thereafter, you can create the archive file.
The folder structure of the service archive file will be as follows.
Test.aar
META-INF
Services.xml
Test.class
Figure 1: Uploading a service archive file
A successful service can be easily tested through the user interface.Several options are available to control your service.
Figure 2: Service dashboard
Figure 3: Try the Service
Note: Instead of using this user interface, you can also manually place the .aar containing all the required files into CARBON_HOME/repository/services. These archive files can be deployed as services.
You can generate the client for your service using the WSO2 Web service Application Server (WSO2 WSAS).
Figure 4: Generating the client
Note: The quality of the service can be managed through the features and options available in the Quality of Service Configuration panel on the Service Dashboard page.