Flow

Flow is simply a collection of phases, and the order of phases inside a flow is defined in axis2.xml. As a phase is a logical collection and, which is, in fact, a virtual concept, a flow can be assumed as the execution chain (a collection of handlers). There are four types of flows in Axis2:

  • InFlow: When a message comes in (request message), the message has to go via the InFlow. Then all the handlers in the InFlow will be invoked. InFlow is somewhat different from the OutFlow. A flow consists of two parts. The first part is from the beginning to the dispatcher (up to and including the dispatch phase). The second part will be there only if a corresponding service is found at the end of the dispatch phase. Therefore, the second part of the ...

Get Apache Axis2 Web Services Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.