You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2006/05/02 15:35:20 UTC
svn commit: r398938 -
/webservices/axis2/trunk/java/xdocs/latest/axis2config.html
Author: deepal
Date: Tue May 2 06:35:04 2006
New Revision: 398938
URL: http://svn.apache.org/viewcvs?rev=398938&view=rev
Log:
doc updated
Modified:
webservices/axis2/trunk/java/xdocs/latest/axis2config.html
Modified: webservices/axis2/trunk/java/xdocs/latest/axis2config.html
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/latest/axis2config.html?rev=398938&r1=398937&r2=398938&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/axis2config.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/axis2config.html Tue May 2 06:35:04 2006
@@ -107,56 +107,86 @@
there is no any hard coding stuffs for handler chain in anywhere in Axis2
(at any Axis*) , so all those configuration are also done here in phase order
element. The complete configuration will look like as follows; <source>
-<pre><phaseOrder type="inflow"">
- <!-- System pre defined phases --">
- <phase name="TransportIn"/">
- <phase name="PreDispatch"/">
+<pre><phaseOrder type="inflow">
+ <!-- System pre defined phases -->
+ <phase name="Transport">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
<handler name="AddressingBasedDispatcher"
- class="org.apache.axis2.engine.AddressingBasedDispatcher"">
- <order phase="Dispatch"/">
- </handler">
- <handler name="RequestURIBasedDispatcher"
- class="org.apache.axis2.engine.RequestURIBasedDispatcher"">
- <order phase="Dispatch"/">
- </handler">
- <handler name="SOAPActionBasedDispatcher"
- class="org.apache.axis2.engine.SOAPActionBasedDispatcher"">
- <order phase="Dispatch"/">
- </handler">
- <handler name="SOAPMessageBodyBasedDispatcher"
- class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher"">
- <order phase="Dispatch"/">
- </handler">
+ class="org.apache.axis2.engine.AddressingBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="InstanceDispatcher"
+ class="org.apache.axis2.engine.InstanceDispatcher">
+ <order phase="PostDispatch"/>
+ </handler>
+ </phase>
+ <!-- System pre defined phases -->
+ <!-- After Postdispatch phase module author or or service author can add any phase he want -->
+ <phase name="OperationInPhase"/>
+ </phaseOrder>
+ <phaseOrder type="outflow">
+ <!-- user can add his own phases to this area -->
+ <phase name="OperationOutPhase"/>
+ <!--system predefined phase-->
+ <!--these phase will run irrespective of the service-->
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ </phaseOrder>
+ <phaseOrder type="INfaultflow">
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.engine.AddressingBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
<handler name="InstanceDispatcher"
- class="org.apache.axis2.engine.InstanceDispatcher"">
- <order phase="Dispatch"/">
- </handler">
- </phase">
- <!-- System pre defined phases --">
- <!-- After Postdispatch phase module author or or service author can add any phase he want --">
- <phase name="OperationInPhase"/">
- </phaseOrder">
- <phaseOrder type="outflow"">
- <!-- user can add his own phases to this area --">
- <phase name="OperationOutPhase"/">
- <!--system predefined phase--">
- <!--these phase will run irrespective of the service--">
- <phase name="PolicyDetermination"/">
- <phase name="MessageOut"/">
- </phaseOrder">
- <phaseOrder type="INfaultflow"">
- <!-- user can add his own phases to this area --">
- <phase name="OperationInFaultPhase"/">
- </phaseOrder">
- <phaseOrder type="Outfaultflow"">
- <!-- user can add his own phases to this area --">
- <phase name="OperationOutFaultPhase"/">
- <phase name="PolicyDetermination"/">
- <phase name="MessageOut"/">
- </phaseOrder"></pre>
-</source>type: the attribute represent type of the flow and which can only be
-one of the following
+ class="org.apache.axis2.engine.InstanceDispatcher">
+ <order phase="PostDispatch"/>
+ </handler>
+ </phase>
+ <!-- user can add his own phases to this area -->
+ <phase name="OperationInFaultPhase"/>
+ </phaseOrder>
+ <phaseOrder type="Outfaultflow">
+ <!-- user can add his own phases to this area -->
+ <phase name="OperationOutFaultPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ </phaseOrder></pre>
+</source>
+<p>type: the attribute represent type of the flow and which can only be one
+of the following</p>
<ul>
<li>inflow</li>
<li>outflow</li>
@@ -169,7 +199,7 @@
specifying phase inside phaseOrder has to be done as follows;</p>
<p><source></p>
-<pre> <phase name="TransportIn"/></pre>
+<pre> <phase name="Transport"/></pre>
</source>name: Name of the phase. <br>
There are number of things that one has to keep in mind when changing
pahseOrder,