JAX-WS WebService Time Out
WebS_Service service = new WebS_Service(wsdlLocation, qName); WebS webS = service.getWebSPort(); Map requestContext = ((BindingProvider)webS).getRequestContext(); requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsdlUrl); requestContext.put(BindingProviderProperties.REQUEST_TIMEOUT, 3000); // Timeout in millis requestContext.put(BindingProviderProperties.CONNECT_TIMEOUT, 1000); // Timeout in millis