Mohannad,

There was an issue in the addressing module that prevented this from
working. This should now be fixed in trunk.

Andreas

On Sun, May 24, 2009 at 22:05, Mohannad Hammadeh
<[email protected]> wrote:
> Thank you for your replies :). So the only way to this currently is through 
> the module itselft? I thought the includeOptionalHeaders parameter is 
> supposed to go in axis2.xml? I managed to include the messageID in my 
> response by hard coding it into my application but I would rather be able t o 
> enable/disable it through axis2.xml
>
> Regards,
>
> Mohannad
>
> ----- Original Message -----
> From: "Andreas Veithen" <[email protected]>
> To: [email protected]
> Sent: Monday, 25 May, 2009 07:40:08 GMT +12:00 New Zealand
> Subject: Re: WS Addressing - Include MessageID in response
>
> ???
>
> On Sun, May 24, 2009 at 21:26, Brian De Pradine <[email protected]> wrote:
>>
>> JIRA please :-)
>>
>> 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?
>>
>>
>> Andreas Veithen <[email protected]> wrote on 24/05/2009 19:07:14:
>>
>>> [image removed]
>>>
>>> Re: WS Addressing - Include MessageID in response
>>>
>>> Andreas Veithen
>>>
>>> to:
>>>
>>> axis-user
>>>
>>> 24/05/2009 19:07
>>>
>>> Please respond to axis-user
>>>
>>> Brian,
>>>
>>> Is it not possible to use <moduleConfig> for this? This would avoid
>>> having to modify the module.xml file.
>>>
>>> Andreas
>>>
>>> On Sun, May 24, 2009 at 19:49, Brian De Pradine <[email protected]>
>>> wrote:
>>> >
>>> > Hi Mohannad,
>>> >
>>> > The only way to do this at the moment is to modify the module.xml file
>>> > in
>>> > the adddressing.mar to add a parameter. The parameter should set
>>> > includeOptionalHeaders to true.
>>> >
>>> > 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?
>>> >
>>> >
>>> > Mohannad Hammadeh <[email protected]> wrote on
>>> > 20/05/2009
>>> > 21:13:01:
>>> >
>>> >> [image removed]
>>> >>
>>> >> Re: WS Addressing - Include MessageID in response
>>> >>
>>> >> Mohannad Hammadeh
>>> >>
>>> >> to:
>>> >>
>>> >> axis-user
>>> >>
>>> >> 20/05/2009 21:14
>>> >>
>>> >> Please respond to axis-user
>>> >>
>>> >> Is there no way of doing this??
>>> >>
>>> >>
>>> >> ----- Original Message -----
>>> >> From: "Mohannad Hammadeh" <[email protected]>
>>> >> To: "axis-user" <[email protected]>
>>> >> Sent: Wednesday, 20 May, 2009 16:53:55 GMT +12:00 New Zealand
>>> >> Subject: WS Addressing - Include MessageID in response
>>> >>
>>> >> Hi there,
>>> >>
>>> >> I am trying to configure my webservice to include a wsa:MessageID
>>> >> node in the header of the response. I tried setting
>>> >> includeOptionalHeaders in Axis2.xml to true but that didnt help. Am
>>> >> I missing something or is there a different way of doing this?
>>> >>
>>> >> Any help would be appreciated, I am using Axis2 1.4.
>>> >>
>>> >>
>>> >> Regards,
>>> >>
>>> >> --
>>> >> Mohannad Hammadeh
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > ________________________________
>>> >
>>> > 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
>>> >
>>> >
>>> >
>>> >
>>> >
>>
>>
>>
>> ________________________________
>>
>> 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
>>
>>
>>
>>
>>
>
>
>

Reply via email to