title: how to add authorization in cxf
body: <p>I am realizing a soap client in which I consume the services of my server.
  The problem is that when I send the request, I always get a 401 error.</p>
  
  <p>Anyone know how to send the credentials in the header since JAX-WS?</p>
  
  <p>I was following this tutorial: <a href="http://cxf.547215.n5.nabble.com/Retrive-WSDL-using-basic-authentication-td5724416.html" rel="nofollow noreferrer">http://cxf.547215.n5.nabble.com/Retrive-WSDL-using-basic-authentication-td5724416.html</a></p>
  
  <p>But I did not work</p>