You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2012/07/22 15:40:25 UTC

svn commit: r1364300 - in /manifoldcf/integration/sharepoint-2010/trunk/webservice: ISAPI/MCPermissionswsdl.aspx MCPermissions.cs

Author: kwright
Date: Sun Jul 22 13:40:24 2012
New Revision: 1364300

URL: http://svn.apache.org/viewvc?rev=1364300&view=rev
Log:
Add placeholder for service that dodges the admin restriction on resultset sizes

Modified:
    manifoldcf/integration/sharepoint-2010/trunk/webservice/ISAPI/MCPermissionswsdl.aspx
    manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs

Modified: manifoldcf/integration/sharepoint-2010/trunk/webservice/ISAPI/MCPermissionswsdl.aspx
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/webservice/ISAPI/MCPermissionswsdl.aspx?rev=1364300&r1=1364299&r2=1364300&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/webservice/ISAPI/MCPermissionswsdl.aspx (original)
+++ manifoldcf/integration/sharepoint-2010/trunk/webservice/ISAPI/MCPermissionswsdl.aspx Sun Jul 22 13:40:24 2012
@@ -41,6 +41,28 @@
           </s:sequence>
         </s:complexType>
       </s:element>
+      <s:element name="GetListItems">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="listName" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="startRow" type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="rowLimit" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetListItemsResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetListItemsResult">
+              <s:complexType mixed="true">
+                <s:sequence>
+                  <s:any />
+                </s:sequence>
+              </s:complexType>
+            </s:element>
+          </s:sequence>
+        </s:complexType>
+      </s:element>
     </s:schema>
   </wsdl:types>
   <wsdl:message name="GetPermissionCollectionSoapIn">
@@ -49,12 +71,23 @@
   <wsdl:message name="GetPermissionCollectionSoapOut">
     <wsdl:part name="parameters" element="tns:GetPermissionCollectionResponse" />
   </wsdl:message>
+  <wsdl:message name="GetListItemsSoapIn">
+    <wsdl:part name="parameters" element="tns:GetListItems" />
+  </wsdl:message>
+  <wsdl:message name="GetListItemsSoapOut">
+    <wsdl:part name="parameters" element="tns:GetListItemsResponse" />
+  </wsdl:message>
   <wsdl:portType name="PermissionsSoap">
     <wsdl:operation name="GetPermissionCollection">
       <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the collection of permissions for a site, list, or list item.</wsdl:documentation>
       <wsdl:input message="tns:GetPermissionCollectionSoapIn" />
       <wsdl:output message="tns:GetPermissionCollectionSoapOut" />
     </wsdl:operation>
+    <wsdl:operation name="GetListItems">
+      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the list of contents of a library without interference from administrator-set limits.</wsdl:documentation>
+      <wsdl:input message="tns:GetListItemsSoapIn" />
+      <wsdl:output message="tns:GetListItemsSoapOut" />
+    </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="PermissionsSoap" type="tns:PermissionsSoap">
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
@@ -67,6 +100,15 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="GetListItems">
+      <soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetListItems" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="PermissionsSoap12" type="tns:PermissionsSoap">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
@@ -79,6 +121,15 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="GetListItems">
+      <soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetListItems" style="document" />
+      <wsdl:input>
+        <soap12:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="Permissions">
     <wsdl:port name="PermissionsSoap" binding="tns:PermissionsSoap">

Modified: manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs?rev=1364300&r1=1364299&r2=1364300&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs (original)
+++ manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs Sun Jul 22 13:40:24 2012
@@ -85,6 +85,13 @@ namespace MetaCarta.SharePoint.SoapServe
             return retVal;
         }
 
+        [WebMethod(Description = "Returns the list of contents of a library without interference from administrator-set limits.")]
+        public XmlNode GetListItems(string listName, string startRow, string rowLimit)
+        {
+            // MHL - add code that lists items and allows paging through the results using startRow and rowLimit
+            return null;
+        }
+        
         #endregion
 
         #region Private Methods