title: GroovyWS WSClient Preemptive Basic authentication
body: <p>I cannot set preemptive authentication in groovyws. (ws provider required preemptive authentication.)</p>
  
  <p>I try to find out in groovyws <a href="http://groovy.codehaus.org/WSClient+configuration" rel="nofollow">document</a> but no clue.</p>
  
  <pre><code>import groovyx.net.ws.WSClient
  
  //def proxy = new WSClient("http://202.44.4.97/webservice/pttinfo.asmx?wsdl", this.class.classLoader)
  def proxy = new WSClient("http://192.168.3.69/provider/myService", this.class.classLoader)
  proxy.setBasicAuthentication('user', 'pass')
  
  proxy.initialize()
  </code></pre>
  
  <p>below is an error.</p>
  
  <pre><code>Caused by: java.io.IOException: Server returned HTTP response code: 405 for URL: http://192.168.3.69/provider/myService
  </code></pre>