You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nadir Amra <am...@us.ibm.com> on 2012/04/27 04:54:12 UTC

Axis2 - any way to disable MustUnderstand Header Check?

Just want to confirm that there is no way to configure the axis2 server so 
that it ignores MustUnderstand Header Check?

And if the above statement is correct, the only way to do this is via a 
handler inserted in the in chain?  If a handler is required, what would 
the handler need to do?





Nadir Amra

Re: Axis2 - any way to disable MustUnderstand Header Check?

Posted by Kishanthan Thangarajah <ks...@gmail.com>.
Hi Amra,

On Fri, Apr 27, 2012 at 8:24 AM, Nadir Amra <am...@us.ibm.com> wrote:

> Just want to confirm that there is no way to configure the axis2 server so
> that it ignores MustUnderstand Header Check?
>
> And if the above statement is correct, the only way to do this is via a
> handler inserted in the in chain?  If a handler is required, what would the
> handler need to do?
>

Yes, you can do this with a handler. What you can do is write your own
handler which extends AbstractHandler [1]. And in the handler's invoke
method, you can set the mustUnderstand header as processed so that it will
be skipped when checking. This thread [2] may also be helpful.

Thanks,
Kishanthan.
[1]
http://axis.apache.org/axis2/java/core/api/org/apache/axis2/handlers/AbstractHandler.html
[2] http://www.mail-archive.com/axis-user@ws.apache.org/msg35297.html

>
>
>
>
>
> Nadir Amra
>