title: Weblogic setting for proxy
body: <p>I have a problem with configuration of proxy to connect to <code>WebService</code> on <code>Weblogic 10.3.5.</code> I cannot use <code>System.setProperty()</code> because it has to be per connection aproach.
  Proxy which I have to use has to have "<code>UserAgent</code>" header.</p>
  
  <p>I have tried two options:</p>
  
  <ol>
  <li><code>ClientProxyFeature</code> but it doesn't work because it generate request
  to proxy without "UserAgent header".</li>
  <li><code>ProxySelector</code>: this approach work great on JUnit test but when I run
  it on Weblogic I receive following error</li>
  </ol>
  
  <blockquote>
    <p>error: java.net.SocketException: Unknown proxy type : HTTP at...</p>
  </blockquote>
  
  <p>Is there any way to work this around?
  Many Thanks in advance</p>
  
  <p>Adam</p>