// make sure the handleResolver exists
if (handleResolverURL == null)
throw new NonstandardException("Unable to locate a Handle Resolver implementation");
// Use the real HandleResolver to get a reference
LocatorType portLocator = null;
try {
portLocator = ClientUtil.findByHandle(handleResolverURL,
handle);
} catch (Exception e) {
logger.severe("Exception while trying to find a Reference via Handle",
e);
throw new NonstandardException("Exception while trying to find a Reference via Handle",
e);
}
ReferenceType[] portRef = portLocator.getReferenceArray();
if (portRef.length > 0) {
String portGSR = XmlUtil.getChildOf(portRef[0]);
if (portGSR != null) {
try {