send.setIp(this.queryIP);
} else {
throw new IllegalStateException("validation failed?");
}
final IdentitiesResponse_Type response;
try {
response = ((NimbusContextBrokerPortType)
this.portType).identities(send);
} catch (NimbusContextualizationFault e) {
throw e;
} catch (RemoteException e) {
throw RMIUtils.generalRemoteException(e);
}
if (response == null) {
throw new ExecutionProblem("No response element from query?");
}
final Node_Type[] ret = response.getNode();
if (ret == null || ret.length == 0) {
return EMPTY_RESPONSE;
} else {
return ret;
}