AnsweredAssumed Answered

GetListItems fails

Question asked by marko on Dec 30, 2015
Latest reply on Jan 8, 2016 by jackgelo

Hi

 

I am trying to query my list but I keep getting this error:

 

Failed to invoke web service. Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

 

Here is my xml:

 

<?xml version="1.0" encoding="utf-8"?>

<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>

<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">

<listName>{Common:ListName}</listName>

<viewName></viewName>

<query>

<Query>

<Where>

<Eq>

          <FieldRef Name="ID" />

          <Value Type="Text">{WorkflowVariable:str_ID}</Value>

</Eq>

</Where>

</Query>

</query>

<viewFields><FieldRef Name="AdditionalSiteAccess" /></viewFields>

<rowLimit></rowLimit>

<queryOptions xmlns:SOAPSDK9=

"http://schemas.microsoft.com/sharepoint/soap/" >

<QueryOptions/>

</queryOptions>

<webID></webID>

</GetListItems>

</soap:Body>

</soap:Envelope>

 

 

Cheers

 

 

Marko

Outcomes