You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by t....@chello.nl on 2006/08/01 23:26:40 UTC

Handler phase declaration

Hi there,

When I look at the default axis2.xml file I see that the RequestURIBasedDispatcher and the
SOAPActionBasedDispatcher have a phase name of <order phase="Dispatch"/>.
But they are declared as childs of <phase name="Transport">.
In the AxisConfigBuilder processPhaseList the following code snippet is there:

HandlerDescription handler = processHandler(omElement, axisConfig);
handler.getRules().setPhaseName(phaseName);

This means that the phase name of the handler is overwritten with Transport instead of Dispatch.
Should the <order phase="Dispatch"/> not be the same as the parent <phase name="Transport">?
The seem goes for the InstanceDispatcher handler inside the Dispatch phase. The InstanceDispatcher has a
handler phase of <order phase="PostDispatch"/>. This is also overwritten with Dispatch as the axis2.xml is processed.
Am I missing something or is this correct?

Thanks,

Tijs


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org