Axis2 Artifact Validator

The Axis2 Artifact Validator allows you to validate the archive files or configuration files of the Apache Axis2 services (.aar files) or modules (.mar files). Since an Apache Axis2 Web service is packaged as a file with the .aar extension, and a Web service module is packaged with a .mar extension, the validators for services and modules are referred to as the AAR Validator and MAR Validator respectively.

Validating an Axis2 Artifact

Validating a service before it is deployed is useful because it assures the validity of the service.

Figure 1: Service validation UI

AAR Validator is capable of validating a service archive file (.aar file) or a services.xml file.

In the navigator, under Tools, click Service Validator. The Service Archive Validator page appears.

Once the validation process is complete, the results will be displayed on the Service Archive Validation Report page.

Service Validation Results

In the service validation process, the tool parses the services.xml against a schema and looks for any invalidities. If any are found, they are presented under Warnings and Information, on the Service Archive Validation Report.

Figure 2: Service validation results


Validating a Module Artifact

In the navigator, under Tools, click Module Validator. The Module Archive Validator page appears.

Figure 3: Module validation UI

Once the validation process is complete, the results will be displayed on the Service Archive Validation Report page.

Module Validation Results

In the module validation process, the tool parses the module.xml against a schema and looks for any invalidities. If any are found, they are presented under Warnings and Information, on the Module Archive Validation Report.

Figure 4: Module validation results