Hi,

In your axis2.xml file, you will see the phases defined. You can either use one 
of the existing phases or add your own phase. If you want a handler for 
outgoing messages, use one of the phases in <phaseOrder type="OutFlow">. For 
incoming messages, use <phaseOrder type="InFlow">.

For example, in Axis 1.4.1, there is a phase called OperationInPhase defined in 
the InFlow.

You would plug your handler into this phase with the following entry in your 
module.xml:

<handler name="MyInputHandler" class="org.sample.handler.MyInputHandler">
  <order phase="OperationInPhase" /> 
</handler>



--- On Thu, 2/26/09, 김해현 <[email protected]> wrote:

> From: 김해현 <[email protected]>
> Subject: How to create phase for axis2 handler?
> To: [email protected]
> Date: Thursday, February 26, 2009, 2:53 AM
> How to create phase for axis2 handler?
> 
> I created new handler (extended AbstractHandler class).
> 
> The handler doesn't run. I think new phase class but i
> don't know how to create and use phase class.



Reply via email to