Sets the out-bound headers to be added to messages sent from
this
BindingProvider .
Calling this method would discard any out-bound headers
that were previously set.
A new
Header object can be created by using
one of the methods on
Headers .
Parameters: headers - The headers to be added to the future request messages.To clear the outbound headers, pass in either nullor empty list. throws: IllegalArgumentException - if the list contains null item. |