I do that using JAX-WS Handlers here:
http://www.jroller.com/gmazza/entry/jaxws_handler_tutorial, or, if you
wish, using CXF interceptors instead:
http://www.jroller.com/gmazza/entry/jaxwshandlers_to_cxfinterceptors.
HTH,
Glen
On 06/17/2011 08:13 AM, Emil Dombagolla wrote:
Dear all,
I need to add soap headers for my requests. My service WSDL doesn't define
any headers . so if i used wsdl2java -exsh true this generates nothing.
so tried to use following code as FAQ says.
--
Glen Mazza
Software Engineer, Talend (http://www.talend.com)
blog: http://www.jroller.com/gmazza