You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "St-Germain, Sylvain" <Sy...@cognos.com> on 2002/12/02 17:06:33 UTC

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:tomj@macromedia.com]
Sent: Monday, November 18, 2002 10:21 AM
To: 'axis-user@xml.apache.org'
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:dweber@asyst-connect.com]
Sent: Thursday, November 14, 2002 8:51 PM
To: axis-user@xml.apache.org
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.