Hi Heshan,
       I think we only need the validation handlers in the InFlow and
InFaultFlow.

thanks,
nandana

On Wed, Jun 25, 2008 at 11:08 AM, Heshan Suriyaarachchi <
[EMAIL PROTECTED]> wrote:

> Hi,
>  I am attaching the module.xml which I wrote to give you an idea of what I
> have done.
>
> <module name="sample-validation" class="BSPValidation.BSPModule">
>    <InFlow>
>        <handler name="InFlowBSPHandler" class="BSPValidation.BSPHandler">
>            <order phase="validationPhase"/>
>        </handler>
>    </InFlow>
>
>    <OutFlow>
>        <handler name="OutFlowBSPHandler" class="BSPValidation.BSPHandler">
>            <order phase="validationPhase"/>
>        </handler>
>    </OutFlow>
>
>    <OutFaultFlow>
>        <handler name="FaultOutFlowBSPHandler"
> class="BSPValidation.BSPHandler">
>            <order phase="validationPhase"/>
>        </handler>
>    </OutFaultFlow>
>
>    <InFaultFlow>
>        <handler name="FaultInFlowBSPHandler"
> class="BSPValidation.BSPHandler">
>            <order phase="validationPhase"/>
>        </handler>
>    </InFaultFlow>
> </module>
>
>
> On Wed, Jun 25, 2008 at 10:16 AM, Heshan Suriyaarachchi <
> [EMAIL PROTECTED]> wrote:
>
> > Hi Nandana,
> >            I was doing my project referring to the sample you gave in
> [3].
> > While doing so, I came across a problem. When writing the module.xml [1]
> > there is tag named order. In it I must specify a phase. Can I set any
> name
> > which I like to this or is there a pre-defined phase that I should
> specify
> > in this tag.
> >
> > <order phase="loggingPhase"/>
> >
> > <http://www.developer.com/java/web/article.php/3529321>[1] -
> >
> http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/userguide/src/userguide/loggingmodule/META-INF/module.xml?revision=637413&view=markup
> >
> >
> > [3] -
> >>
> >>
> http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/userguide/src/userguide/loggingmodule/
> >>
> >>
> >
> >
> > --
> > Regards,
> > Heshan Suriyaarachchi
> >
> > http://heshans.blogspot.com/
> >
>
>
>
> --
> Regards,
> Heshan Suriyaarachchi
>
> http://heshans.blogspot.com/
>



-- 
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/

Reply via email to