I need to add a header to my clients web service call request and the header is 
not defined in the WSDL.  I found this similar question posted in 2007

http://old.nabble.com/Add-SOAP-HEADER-value-ts11710546.html#a11710546

In this post the solution was to go back to the basic org.w3c.dom.Document and 
org.w3c.dom.Element objects and then add them using 
BindingProvider.getRequestContext().put(Header.HEADER_LIST, 
listOfSoapHeaderObjects);.

My question is, is this the easiest way?  It seems very obscure way of adding 
soap headers.

Thanks,
Mike




Reply via email to