CswRecord record = new CswRecord();
Exception exc = null;
try {
CswProfile profile = getCswProfile();
CswSearchRequest request = new CswSearchRequest();
CswClient client = this.getCswClient();
//client.setReadTimeout(SearchConfig.getConfiguredInstance().getTimeOut());
request.setCswClient(client);
String username = Val.chkStr(this.getCredentials().getUsername());
String password = Val.chkStr(this.getCredentials().getPassword());
if("".equals(username)) {