I am getting this exception the below highlighted line from process method.
Services port = Service.getPort(new QName(propUtil.getNamespaceURI(), "Services"),
Services.class);
String serviceURL = propUtil.getServiceUrl();
if(serviceURL != null){
BindingProvider bp = (BindingProvider)port;
bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
serviceURL);
}
Client client = ClientProxy.getClient(port);
HTTPConduit httpConduit = (HTTPConduit) client.getConduit();
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setConnectionTimeout(Integer.parseInt("20000"));
httpClientPolicy.setAllowChunking(false);
httpClientPolicy.setReceiveTimeout(Integer.parseInt("20000"));
httpConduit.setClient(httpClientPolicy);
Response res = Response();
// This is the line where i am getting connection time out error.
CompanyMasterDataResponseDTO cinDetail = port.getCINInfo(request.getCin());
Please help me here..