O'Reilly logo

Apache Axis2 Web Services Second Edition by Afkham Azeez, Deepal Jayasinghe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Phase rules

The main idea of phase rules is to correctly locate a handler relative to the one inside a phase, maybe at the deployment time or at the runtime. Axis1 did not have the concept of phases or phase rules. What it had was a global configuration file where you go and define you handlers. But that had a number of limitations; in particular, you lose the dynamic nature of the handler chain. Therefore, one aspect of phase rules is to address the issues of dynamic execution chain building capability.

Characterizing a phase rule

Characterizing a phase rule can be based on one or more of the following properties:

  • Phase name: Name of the phase that the handler must be placed in
  • First phase (phaseFirst): The first handler of the phase
  • Last phase( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required