You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by robert lazarski <ro...@gmail.com> on 2009/02/27 14:55:04 UTC
Re: [jira] Resolved: (AXIS2-3987) Axis2 Addressing treats MessageID
as a required element
On Fri, Feb 27, 2009 at 10:43 AM, Brian DePradine (JIRA)
<ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/AXIS2-3987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Brian DePradine resolved AXIS2-3987.
> ------------------------------------
>
> Resolution: Won't Fix
>
> As the message id may be required in some situations, according to the WS-Addressing spec, no change will be made.
>
But if its optional, why do we make it mandatory? That seems to me to
be an obvious contradiction, isn't it? It would be a violation of the
spec if it couldn't be made optional, right?
Rainy day here ... not that I have dog in this hunt.
- R
>> 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.
>
>
Re: [jira] Resolved: (AXIS2-3987) Axis2 Addressing treats MessageID as a
required element
Posted by Brian De Pradine <PR...@uk.ibm.com>.
That's the tricky bit. It is not us making it mandatory, it is the spec
stating that it is mandatory. The following is taken from [1].
In either of the above cases, if the related message lacks a [message id]
property, the processor MUST fault.
[1] http://www.w3.org/TR/2006/REC-ws-addr-core-20060509/#formreplymsg
Cheers
Brian DePradine
Web Services Development
IBM Hursley
External +44 (0) 1962 816319 Internal 246319
If you can't find the time to do it right the first time, where will you
find the time to do it again?
robert lazarski <ro...@gmail.com> wrote on 27/02/2009 13:55:04:
> [image removed]
>
> Re: [jira] Resolved: (AXIS2-3987) Axis2 Addressing treats MessageID
> as a required element
>
> robert lazarski
>
> to:
>
> axis-dev
>
> 27/02/2009 13:55
>
> Please respond to axis-dev
>
> On Fri, Feb 27, 2009 at 10:43 AM, Brian DePradine (JIRA)
> <ji...@apache.org> wrote:
> >
> > [ https://issues.apache.org/jira/browse/AXIS2-3987?
> page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> >
> > Brian DePradine resolved AXIS2-3987.
> > ------------------------------------
> >
> > Resolution: Won't Fix
> >
> > As the message id may be required in some situations, according to
> the WS-Addressing spec, no change will be made.
> >
>
> But if its optional, why do we make it mandatory? That seems to me to
> be an obvious contradiction, isn't it? It would be a violation of the
> spec if it couldn't be made optional, right?
>
> Rainy day here ... not that I have dog in this hunt.
>
> - R
>
> >> 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.
> >
> >
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU