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
