axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: Unable to get Header tags in custom module's inflow handler
Date Thu, 27 Aug 2009 04:21:22 GMT
On Wed, Aug 19, 2009 at 9:44 PM, Senthil Sona <swsoni@cisco.com> wrote:

>
> Hi Rampart team,
>
>    In a client class we have our custom module and rampart engaged. While
> sending the request, we are setting some header tags in outflow handler of
> custom module. while request going out, first custom module's outflow
> handler is executing then rampart module's outflow handler is executing.
> When request goes til webservice, (webservice is also having rampart and
> custom module engage), then webservice custom module's inflow handler is
> executing. We have a code to extract custom header tags in inflow handler.
> But the custom header tags we have set in outflow handler is not coming
> till
> inflow handler. And in inflow handler the envelope is in encrypt form.
> Could
> you please tell me how to get these header values in inflow handler.


If you look at the axis2.xml phases you can see the Out flow handler order
is the reverse of inflow handler order.
so when you add handlers you need to think like that. If custom out handler
is before security phase in out flow then
custom in handler should be after security phase in inflow.

thanks,
Amila.

>
>
>    Please reply as soon as possible. This is very urgent.
>
> Thanks,
> Swapna Soni.
> --
> View this message in context:
> http://www.nabble.com/Unable-to-get-Header-tags-in-custom-module%27s-inflow-handler-tp25047272p25047272.html
> Sent from the Axis - Dev mailing list archive at Nabble.com.
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message