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

Isuru Eranga Suriarachchi commented on AXIS2-3987:
--------------------------------------------------

Hi Martin,

Please check the soap header of the message generated by your client code. It 
will definitely adds a MessageID header into the SOAP header. Thats the problem 
I'm having. MessageID is an optional element. But Axis2 always add it to the 
message even though we don't add an ID in the client code.

I used options.setProperty(INCLUDE_OPTIONAL_HEADERS, Boolean.FALSE); to check 
whether if i can avoid the MessageID at least by providing this option. (But it 
MUST not be needed) 

I'm working with Axis2 trunk.

I used <module ref="addressing"/> in axis2.xml to engage addressing globally 
and used sender.engageModule("addressing"); (where sender is the service 
client) to engage addressing at service level. In both cases the above issue 
exists. Anyway IMO this issue doesn't depend on the way you engage addressing..

> Axis2 Addressing treats MessageID as a required element
> -------------------------------------------------------
>
>                 Key: AXIS2-3987
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3987
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>         Environment: Ubuntu, jdk 1.5
>            Reporter: Isuru Eranga Suriarachchi
>
> According to both WS-Addressing final and submission specifications, the 
> Message Id is an optional element in the header. But when I engaged Axis2 
> addressing to a simple client and set only the Action, it adds a message Id 
> as well. I tried the following option as well. But it didn't work.
> options.setProperty(INCLUDE_OPTIONAL_HEADERS, Boolean.FALSE);
> So I can't create a message without the optional element "MessageID" using 
> Axis2.. 

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


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

Reply via email to