return new XregistryServiceWrapper(registryURL,globalConfiguration);
} catch (GfacException e) {
e.printStackTrace();
GfacException error = new GfacException("Failed to create registry Service client using " + registryURL,e,FaultCode.ErrorAtDependentService);
error.addProperty(ErrorCodes.SERVICE_TYPE, ErrorCodes.ServiceType.Registry.toString());
error.addProperty(ErrorCodes.URL_Name, registryURL);
throw error;
}
}
public static RegistryService createRegistryService(String registryURL,String trustedCertFile,
GSSCredential gssCredential) throws GfacException{