title: Issue with Service Timeout
body: <p>I have generated the client stubs using WSDLToJava. After that I have created the client as mentioned here  <a href="http://cxf.apache.org/docs/developing-a-consumer" rel="nofollow">http://cxf.apache.org/docs/developing-a-consumer</a>.</p>
  
  <pre><code>this.testService = new TestService(wsdlURL, SERVICE_NAME); //line #1
      this.port = testService.getTestPort();          //line #2
      Client client = ClientProxy.getClient(port);        //line #3
      client.getInInterceptors().add(new LoggingInInterceptor());
      client.getOutInterceptors().add(new LoggingOutInterceptor());
      HTTPConduit conduit = (HTTPConduit)client.getConduit();
      // setting timeouts for connection
      String timeOutSecond = CoreProperty.getProp(CORE_SERVICE_TIME_OUT_MILLISECONDS);
      int timeout =0;
      try{
          if(Utils.isNotNullOrBlank(timeOutSecond))
              timeout = Integer.parseInt(timeOutSecond.trim());
          else
              timeout = Constants.DEFAULT_SERVICE_TIME_OUT_MILLISECONDS;
      }catch (NumberFormatException e) {
          timeout = Constants.DEFAULT_SERVICE_TIME_OUT_MILLISECONDS;
      }
      conduit.getClient().setReceiveTimeout(timeout);
  </code></pre>
  
  <p>The issue is that line #1 is taking almost 5 minutes to throw error if the server is down - specified in the <code>wsdlURL</code> . </p>
  
  <p>I want to set a time out of 30 seconds to establish the client connection. </p>
  
  <p>If the service is up everything is working fine and the receivetimeout I have set working fine. How can I set the timeout for establishing the connection. 
  <strong>THE PROGRAM IS WAITING AT LINE #1 IF THE SERVER IS DOWN, IT IS WAITING FOR MORE THAN 4 MINUTES THERE AND I WANT TO AVOID THAT.</strong> </p>
  
  <p>Thanks for your time. Please help</p>