* @see RepositoryService#getQNodeTypeDefinitions(SessionInfo)
*/
public Iterator<QNodeTypeDefinition> getQNodeTypeDefinitions(SessionInfo sessionInfo) throws RepositoryException {
ReportMethod method = null;
try {
ReportInfo info = new ReportInfo(JcrRemotingConstants.REPORT_NODETYPES, ItemResourceConstants.NAMESPACE);
info.setContentElement(DomUtil.createElement(DomUtil.createDocument(), NodeTypeConstants.XML_REPORT_ALLNODETYPES, ItemResourceConstants.NAMESPACE));
String workspaceUri = uriResolver.getWorkspaceUri(sessionInfo.getWorkspaceName());
method = new ReportMethod(workspaceUri, info);
getClient(sessionInfo).executeMethod(method);
method.checkSuccess();