[ 
https://issues.apache.org/jira/browse/AXIS2-3982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672968#action_12672968
 ] 

Sharath Reddy commented on AXIS2-3982:
--------------------------------------


I am testing with Axis 1.5 beta2, and by default the "mustUnderstand" 
attributes are NOT sent. 

They are only added when you add the option to ServiceClient:

Options options = new Options();
 options.setProperty(
      AddressingConstants.ADD_MUST_UNDERSTAND_TO_ADDRESSING_HEADERS, 
      true);
.....
serviceClient.setOptions(options);



> ADD_MUST_UNDERSTAND_TO_ADDRESSING_HEADERS ignored
> -------------------------------------------------
>
>                 Key: AXIS2-3982
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3982
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.4, 1.3
>            Reporter: Liliana Ziolek
>
> It seems that at the moment there is no simple way of making Axis2 to NOT 
> send the "mustUnderstand" in headers. I have to access a webservice server 
> that doesn't understand it and at the moment the only option is to use Axis2 
> 1.2 or to override 
> protected void addHeader(OMElement omElementToadd, SOAPEnvelope envelop, 
> boolean mustUnderstand) 
> method so that it doesn't always call 
> soapHeaderBlock.setMustUnderstand(mustUnderstand) (as it does in standard 
> axis implementation)
> I would expect that setting the option 
> ADD_MUST_UNDERSTAND_TO_ADDRESSING_HEADERS should work, or at least there 
> should be some other simple way of "turning off" mustUnderstand in headers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to