I am new in Web Services.I am struggling to set Header using Although is has been added through handler. But My requirement is to add Header at client side not from server side. Following test code is being used to set at header despite it is not working .
Assuming its some JAX-WS implementation you're using of course. In future questions I would be more forthcoming with which exact API and implementation of that API you're using. This is Java, there tend to be at least two but often half a dozen or more alternatives to solving the same problem.
It had been done by handler.Handler is deploy at server side,In contrast we need to set handler from client side. with the help of google i found piece of code, follow as below.But it is not working for me.
Need help am i missing something in this code Or what do i use different approach ?