I have written a service handler that extends BasicHandler, and have overridden the invoke() method.
 
When I send a SOAP message with a header, however, my handler I created does not see any of the information sent in the header..
 
In the invoke() method, I do the following:
-----
        Message msg = context.getRequestMessage();
        if ( msg == null )
          throw new AxisFault(JavaUtils.getMessage("noRequest00"));
 
        SOAPEnvelope env = msg.getSOAPEnvelope();
        SOAPHeader sh = env.getHeader(); 
        System.out.println (sh);
-----
Always, I get the following:
 
 
----
 
So what strips out the header before it gets to my handler? Any response would be great.
 
Axis on my system is in the default configuration.
 
Thanks,
 
Kevin T. Smith

Reply via email to