if (xregistryURL == null) {
xregistryURL = XBayaConstants.DEFAULT_XREGISTRY_URL;
}
XRegistryClient xregistryClient = new XRegistryClient(gssCredential, XBayaSecurity.getTrustedCertificates(),
xregistryURL.toString());
ResourceData[] datas = xregistryClient.findResource("");
int index = 0;
while (maxNum > 0 && datas.length > index) {
ResourceData data = datas[index];
QName qName = data.getName();