Package xregistry.generated

Examples of xregistry.generated.ListGroupsResponseDocument


    public ListGroupsResponseDocument listGroups(ListGroupsDocument input)
            throws XregistryException {
        log.info("Request Received " + input.xmlText());
        String[] groups = registryImpl.listGroups(findUserDN());
        ListGroupsResponseDocument responseDocument = ListGroupsResponseDocument.Factory
                .newInstance();
        ListGroupsResponse listGroupsResponse = responseDocument.addNewListGroupsResponse();

        if (groups != null) {
            for (String group : groups) {
                listGroupsResponse.addNewGroup().setStringValue(group);
            }
        }
        log.info("Response  Sent  " + responseDocument.xmlText());
        return responseDocument;
    }
View Full Code Here


    }
    public String[] listGroups() throws XregistryException {
        ListGroupsDocument input =  ListGroupsDocument.Factory.newInstance();
        input.addNewListGroups();
        ListGroupsResponseDocument responseDocument = proxy.listGroups(input);
       
        return responseDocument.getListGroupsResponse().getGroupArray();
    }
View Full Code Here

TOP

Related Classes of xregistry.generated.ListGroupsResponseDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.