Prashant,
If you're using the RPCRouterServlet, then the Call object that is extracted
from the Envelope has the Headers.
Vector v = call.getHeader.getHeaderEntries();

The Header value is stored as the first child of the Element whose name is
the name you have assigned in the client.
See http://marc.theaimsgroup.com/?l=soap-user&m=99064627103560&w=2 for a
similar problem.

G'luck,
--KH

-----Original Message-----
From: Prashant Jain [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 5:30 AM
To: [EMAIL PROTECTED]
Subject: using soap with tomcat 4.0b6 filter support


Hi,

Has anyone tried using SOAP with the Filter functionality of Tomcat 4.0
(beta 6)? On my client side, I am creating a SOAP header and inserting
some data in it. What I would like to be able to do is to extract this
data using a Filter which I install in the servlet container (tomcat).

I am able to intercept the request in my filter but am not sure how to
extract a SOAP header given just an HttpServletRequest.

Any help would be appreciated.

Thanks,

- Prashant

Reply via email to