Hi,

I have a custom handler (extends AbstractHandler) and I place the handler
inside phase 'Transport' in axis2.xml.
........
<phaseOrder type="InFlow">
        <!--  System predefined phases       -->
        <phase name="Transport">
            <handler name="RequestURIBasedDispatcher"

class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
                <order phase="Transport"/>
            </handler>
            <handler name="SOAPActionBasedDispatcher"

class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
                <order phase="Transport"/>
            </handler>
            *<handler name="WSSHandler"
                     class="abc.web.ws.control.WSSHandler">
                 <order phase="Transport"/>
            </handler>
*        </phase>
...........
.............
</phaseOrder>

I noticed when ws-security enabled service is invoked (when rampart is
engaged) the 'invoke' mehtod of my custom handler is getting called once
(still fine) but for non ws-security enabled service invocation the 'invoke'
method of my custom handler is getting called twice. Could someone please
explain?

Chinmoy

Reply via email to