public ObjectResource[] findServiceDesc(String serviceName) throws GfacException {
try {
ServiceDescData[] docDatas = registryClient.findServiceDesc(serviceName);
ObjectResource[] resources = new ObjectResource[docDatas.length];
for (int i = 0; i < resources.length; i++) {
resources[i] = new ObjectResource();
resources[i].name = docDatas[i].getName().toString();
resources[i].displayName =docDatas[i].getName().getLocalPart();
resources[i].nameSpace = docDatas[i].getName().getNamespaceURI();
resources[i].sn = i +1;
}