NonStop SOAP 4.1 User's Manual

on when another handler is invoked. To specify the order of invoking handlers, include the following
entry with the required information in the module.xml file:
<order phase=phase-name phaseLast=true phaseFirst=first
before=handler-name after=handler-name/>
where,
phase
indicates the phase in which this handler must be invoked. This is a mandatory attribute.
phaseLast [true | false]
indicates that the parent handler is the last handler that must be invoked for the given phase.
This is an optional attribute.
phaseFirst [true | false]
indicates that the parent handler is the first handler that must be invoked for the given phase.
This is an optional attribute.
before
is the attribute value that takes the name of a valid handler. The valid handler is invoked before
the handler specified in the before attribute. This is an optional attribute.
after
is the attribute value that takes the name of a valid handler. The valid handler is invoked after
the handler specified in the after attribute. This is an optional attribute.
Defining the Module-Specific Parameters
You can define the module-specific parameters by using the <parameter> element. This element
is a child of the <module> element. To add module-specific parameters, include the following
entry with the required information in the module.xml file:
<parameter name="parameter-name" locked="false"><parameter-value></parameter>
where,
name
is the parameter name. This is a mandatory attribute for the parameter tag.
locked [true | false]
specifies whether the parameter can be modified within the user code. If this attribute is set to
true, the parameters can be modified. The default value is false.
<parameter-value>
is the parameter value associated with the parameter name.
Example 4 shows a sample module.xml configuration file.
Example 4 A Sample module.xml Configuration File
<module name="addressing" class="axis2_mod_addr">
<inflow>
<handler name="AddressingInHandler" class="axis2_mod_addr">
<order phase="Transport" before="addressing_based_dispatcher"/>
</handler>
</inflow>
<outflow>
<handler name="AddressingOutHandler" class="axis2_mod_addr">
<order phase="MessageOut"/>
</handler>
</outflow>
<Outfaultflow>
<handler name="AddressingOutHandler" class="axis2_mod_addr">
192 NonStop SOAP 4 Configuration Files