Sylvain, Adding handlers is the Axis way of doing things. Its part of the architecture. You may be able to do headers in the service code via the MessageContext....
-- Tom Jordahl Macromedia Server Development -----Original Message----- From: St-Germain, Sylvain [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:07 AM To: [EMAIL PROTECTED] Subject: RE: Server side header management Is it true to say that the only way to change the header information is through a handler? I am trying to write a test case that does send back a received header but I would like to avoid writing a handler if possible... Sylvain. -----Original Message----- From: Tom Jordahl [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:21 AM To: '[EMAIL PROTECTED]' Subject: RE: Server side header management You need to build a handler which will process the header, thus setting the flag that indicates that you understood the header. The docs talk about handlers and how to write/configure one. -- Tom Jordahl Macromedia Server Development -----Original Message----- From: dweber [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 14, 2002 8:51 PM To: [EMAIL PROTECTED] Subject: Server side header management All, I have an application that receives data in the soap:header section with the mustUnderstand flag set. How do I 1) prevent Axis from throwing a fault and 2) how do I get the information out of the header? I'm using Axis 1.0 with tomcat 4.1.8. I added some logging and it looks like the server code isn't even being called before the fault is returned (mustUnderstand fault). I found a way to send the headers in the client by modifying the client stub code, but I can't seem to find out where I tell Axis to look for the header on the server side. TIA daneil This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
