public ListUsersResponseDocument listUsers(ListUsersDocument input) throws XregistryException {
log.info("Request Received " + input.xmlText());
String[] users = registryImpl.listUsers(findUserDN());
ListUsersResponseDocument responseDocument = ListUsersResponseDocument.Factory
.newInstance();
ListUsersResponse listGroupsResponse = responseDocument.addNewListUsersResponse();
if (users != null) {
for (String user : users) {
listGroupsResponse.addNewUser().setStringValue(user);
}
}
log.info("Response Sent " + responseDocument.xmlText());
return responseDocument;
}