title: Javax.xml.ws Client for OAuth2.0
body: <p>I had implementation of client using <code>javax.xml.ws</code> for a soap webservice. It work fine with basic authentication. Where I am setting authentication parameters like this</p>
  
  <pre><code>bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY,"xyz");
  bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,"xyz");
  </code></pre>
  
  <p>But now we have a flow with OAUTH2.0 where I have to send just a Token with Request. I almost banged my head with whole internet but couldn't find the solution using <code>javax.xml.ws</code>. There are implementations using <code>javax.ws.rs</code> packages but they won't work in my case as I have to use WSDL. Please share a solution so request can be sent using <code>Authenticaton:Bearer TOKEN_STRING</code></p>