Add placeholder for service that dodges the admin restriction on resultset sizes

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/integration/sharepoint-2010/trunk@1364300 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webservice/ISAPI/MCPermissionswsdl.aspx b/webservice/ISAPI/MCPermissionswsdl.aspx
index 6abec65..33b4ba0 100644
--- a/webservice/ISAPI/MCPermissionswsdl.aspx
+++ b/webservice/ISAPI/MCPermissionswsdl.aspx
@@ -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">

diff --git a/webservice/MCPermissions.cs b/webservice/MCPermissions.cs
index 8f9ce13..1a9f9f3 100644
--- a/webservice/MCPermissions.cs
+++ b/webservice/MCPermissions.cs
@@ -85,6 +85,13 @@
             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