if (basicEndpoint == null && System.getProperty("ServerUrl") != null) {
String url = System.getProperty("ServerUrl");
String user = System.getProperty("UserName");
String password = System.getProperty("Password");
basicEndpoint = new BasicEndpoint();
basicEndpoint.setUrl(url);
basicEndpoint.setForceTrustSSLCertificate(true);
basicEndpoint.setUser(user);
basicEndpoint.setPassword(password);