I am using the soap messaging service and I would like to send a header 
with the envelope.  The documentation to do it does not exist, so this 
is how I'm doing it, could sombody please correct me if I am wrong

QName qname = new QName("http://schemas.xmlsoap.org/soap/header";, 
webservice);
Header header = new Header();
header.setAttribute(qname, value I want header to be);
msgenv.setHeader(header);

and then I send the message.  On the server side I tried a

Header header = env.getHeader();

The value of header is always null.  Obviously something is wrong can 
someone please tell me what it is.  
Thanks.
Rich Catlett

Reply via email to