axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharath Reddy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3982) ADD_MUST_UNDERSTAND_TO_ADDRESSING_HEADERS ignored
Date Thu, 12 Feb 2009 13:27:59 GMT

    [ 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.


Mime
View raw message