title: Apache CXF Client proxy settings
body: <p>I am trying to Develop a Consumer for Soap Service using the tutorial at 
  <a href="http://cxf.apache.org/docs/developing-a-consumer.html" rel="noreferrer">http://cxf.apache.org/docs/developing-a-consumer.html</a></p>
  
  <p>In the section ,"Setting Connection Properties with Contexts" I am looking at the code below</p>
  
  <pre><code>// Set request context property.
  java.util.Map&lt;String, Object&gt; requestContext =
    ((javax.xml.ws.BindingProvider)port).getRequestContext();
  requestContext.put(ContextPropertyName, PropertyValue);
  
  // Invoke an operation.
  port.SomeOperation();
  </code></pre>
  
  <p>Can someone tell me if I can set the proxy server settings using the requestContext properties and how ?. My code is running behind a proxy and I need the outgoings SOAP calls to use proxy server settings.</p>