I'm not sure whether it helps you or not, but I use the following statements
to set the header and it works. I use WSDL stubs.
binding.setHeader("","session_id",sessionid);
binding.setHeader("","version","1.8");
Colin Ma
-----Original Message-----
From: Bill Buch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 8:01 AM
To: [EMAIL PROTECTED]
Subject: Problems Setting SOAP Header
All,
I looked at the example of setting the SOAP header using the WSDL stubs.
I tried both the SOAPHeaderElement method as well as the
string/string/object method. Compiles and runs fine, but no SOAP header
appears in the request, as I am seeing in TCPMON. I have all the required
jars, etc. Can anyone help me in the direction to go now?
Thanks!