On Fri, May 23, 2008 at 12:11 AM, Srivastava, Abhay
<[EMAIL PROTECTED]> wrote:
> Well, after further testing I found that Axis2 service understands
> MustUnderstand=1 without the use of handlers but throws an exception
> when mustUnderstand=1 is passed in the SOAP request.

Which is the correct behaviour IMHO ... the error it thrown before the
request reaches the service by the engine.

You will need to have a handler to process the header and set the flag
indicating that the header is processed.

Thanks,
Ruchith

>
>
> Abhay Srivastava
> Reference Architecture
> Shared Services and Architecture | Smith Barney Technology | CitiGroup
> GWM | New York
> (212)  657 - 9358
>
> -----Original Message-----
> From: Ruchith Fernando [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 22, 2008 2:38 PM
> To: [email protected]
> Subject: Re: Axis2 1.2 service to understand "mustUnderstand" attribute
> without using Rampart
>
> Hi,
>
> All soap headers with "mustUnderstand" attributes must be processed
> before the request reaches the service. If not Axis2 will throw an
> exception.
>
> Axis2 expects handlers to process SOAP headers and then set the
> "mustUnderstand" attribute.
>
> Thanks,
> Ruchith
>
> On Thu, May 22, 2008 at 2:38 AM, Srivastava, Abhay
> <[EMAIL PROTECTED]> wrote:
>>
>> Hello Folks,
>>     Is their a way to make the Axis2 service understand the
>> "mustunderStand" attribute in SOAP header without using Rampart ?
>>
>> Abhay Srivastava
>> Reference Architecture
>> Shared Services and Architecture | Smith Barney Technology | CitiGroup
>
>> GWM | New York
>> (212)  657 - 9358
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> http://blog.ruchith.org
> http://wso2.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
http://blog.ruchith.org
http://wso2.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to