Hi Marc...
So, as the last discussion item I opened indicates, I have been playing with GetListItemChangesSinceToken, which may soon replace my use of GetListItems... This method (GetListItemChangesSinceToken) works fine in SP2010 and 2013, but is failing for me when I try it in SP2007...
Below I have the request and response (XML) along with the SPServices call I'm issuing... I know this, is is against 2007.. I'm hopping you may still have an environment to try this on...
So, as the last discussion item I opened indicates, I have been playing with GetListItemChangesSinceToken, which may soon replace my use of GetListItems... This method (GetListItemChangesSinceToken) works fine in SP2010 and 2013, but is failing for me when I try it in SP2007...
Below I have the request and response (XML) along with the SPServices call I'm issuing... I know this, is is against 2007.. I'm hopping you may still have an environment to try this on...
Request:
SPServices:
$().SPServices({
operation: 'GetListItemChangesSinceToken',
listName: 'PaulTestList',
completefunc: function(xData, status){
console.log('back!');
}
})
XML Request:
<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
<soap:Body>
<GetListItemChangesSinceToken xmlns='http://schemas.microsoft.com/sharepoint/soap/'>
<listName>PaulTestList</listName>
<viewName></viewName>
<query></query>
<viewFields></viewFields>
<rowLimit></rowLimit>
<queryOptions></queryOptions>
<changeToken></changeToken>
<contains></contains>
</GetListItemChangesSinceToken>
</soap:Body>
</soap:Envelope>
Response from SharePoint 2007
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Exception of type
'Microsoft.SharePoint.SoapServer.SoapServerException' was
thrown.</faultstring>
<detail>
<errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">
Input string was not in a correct format.</errorstring>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>