DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18048>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18048 Header elements cannot be added to Fault messages Summary: Header elements cannot be added to Fault messages Product: Axis Version: current (nightly) Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Basic Architecture AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am trying to implement a handler which can add a header element to fault messages. What I implemented is: public void invoke(MessageContext context) { try { // Normal operation... } catch (AxisFault fault) { Message mes = new Message(fault); // Add header to the message... context.setResponseMessage(mes); throw fault; } } However, returned message does not contain the header which my code has added. I suspect that Axis engine overwrites my message with the one which the engine has created.
