title: HTTP Basic authentication seems to fail with JAX-WS client
body: <p>I am making a call to a soap web service, using a jax-ws client generated with cxf-codegen-plugin.</p>
  
  <p>The web service i am calling implements a HTTP basic authentication, so I use the following properties in my request context to fill username/password :</p>
  
  <pre><code>Map&lt;String, Object&gt; requestContext = bindingProvider.getRequestContext();
  requestContext.put(BindingProvider.USERNAME_PROPERTY, username);
  requestContext.put(BindingProvider.PASSWORD_PROPERTY, password);
  </code></pre>
  
  <p>The problem is when the calls are executed no response is received, and no error is logged.
  The request is logged but then the http connection seems to remain active while nothing happens. The web services respond correclty with soapUI so the problem is definitly in the client side.</p>
  
  <p>I think the HTTP headers, which are supposed to hold the username/password are not sent properly, because the following line returns null :</p>
  
  <pre><code>soapMessageContext.get(MessageContext.HTTP_REQUEST_HEADERS))
  </code></pre>
  
  <p>Thanks in advance for any help.</p>