Versions Compared

Key

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

An Axis2 archive file is just a .jar file with a specific directory structure as followsshown below.

Panel

Test.aar

      META-INF

            services.xml

      Test.class

...

  1. Log in to the management console and select Services -> Add -> AAR Service.
  2. The Add Service Archives page appears. Select your .aar file and click upload. For example,

    Service Hierarchy
    Specifying a service hierarchy is optional. It allows you to customize your service endpoint reference. If the business logic of the same service changes over time, you can maintain multiple versions of the service by using service hierarchy at the deployment. For example, consider a service named Version. 

    If the service hierarchy is not mentioned, then the service endpoint reference is ../services/Version. With service hierarchy specified, for example as 1.0.0, the endpoint reference is ../services/1.0.0/Version. Specifying a hierarchy is important if you want to manage services separately. 
  3. If the file is uploaded successfully, a message appears prompting you to refresh the page. Click OK.

    Info

    If the service is faulty, a "Faulty Service Groups" link will appear. You can click the link to view the errors.

  4. Refresh the "Deployed Services" page in the Management Console to view the newly added service listed.

...