String home = req.getDocumentRequest().get(0).getHomeCommunityId(); if (home == null) throw new XDSException( XDSException.XDS_ERR_MISSING_HOME_COMMUNITY_ID, "Missing Home Community ID in request! repositoryID: "+repositoryID, null);
for (int i = 0, len = docReq.size() ; i < len ; i++) { tmpReq = docReq.get(i); tmpHomeID = tmpReq.getHomeCommunityId(); if (tmpHomeID == null || tmpHomeID.trim().length() == 0) { throw new XDSException(XDSException.XDS_ERR_MISSING_HOME_COMMUNITY_ID,