System.setProperty("javax.net.ssl.trustStorePassword", "wso2carbon");
System.setProperty("javax.net.ssl.trustStoreType","JKS");
try {
configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(axis2Repo, axis2Conf);
authenticate(configContext, serverURL);
registry = new WSRegistryServiceClient(serverURL, "admin", "admin", configContext);
// registry.addSecurityOptions(policyPath, CARBON_HOME + "/resources/security/wso2carbon.jks");
} catch (Exception e) {
e.printStackTrace();
fail("Failed to authenticate the client. Caused by: " + e.getMessage());