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: Setting mustUnderstand to 0
Date Wed, 23 Jul 2008 06:53:31 GMT
by default Axis2 does not set mustUnderstand="1"
so no this attribute equivalent to mustUnderstand="0"

So don't do anything.

thanks,
Amila.

On Tue, Jul 22, 2008 at 9:36 PM, Dini Omar <ziggy25@gmail.com> wrote:

> Hi all,
>
> I am trying to set mustUnderstand to 0 but i cant seem to be able to do it.
> I tried to google it and tried several options but i just cant do it. Its
> always coming up as soapenv:mustUnderstand="1"
>
> i have already tried the following
>
> stub._getServiceClient().getOptions().setProperty(WSDL2Constants.ATTRIBUTE_MUST_UNDERSTAND,"0");
>
> ctx.setProperty(AddressingConstants.ADD_MUST_UNDERSTAND_TO_ADDRESSING_HEADERS,Boolean.FALSE);
>
>
> Is there somehere else i need to configure this so that it comes out as
> soapenv:mustUnderstand="0"
>



-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message