AnsweredAssumed Answered

How to lookup with soap

Question asked by posselt on Jul 15, 2016
Latest reply on Jul 15, 2016 by emha

Hi

 

i try to call a web service,

i call another instantance of a sharepoint-server and try to use "getlistimtes"

i get a result but cant filter it:

 

I receive the list (the limit is only for overview, the endresult must end in 1 item

i only get the column "verantwortlicher" but i want to filter for "Bauttechnik" (the will be a variable when the filter works)

and, btw: why is there always a "m:"?

 

greets

benjamin

 

soapeditor:

 

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

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">

  <soap:Header>

  </soap:Header>

  <soap:Body>

    <m:GetListItems>

      <m:listName>Foldermanagement</m:listName>

      <m:viewName></m:viewName>

      <m:query>

<Query>

<Where>

  <eq>

            <FieldRef Name='Name' />

         <Value Type='Text'>Bautechnik</Value>

</eq>

</Where>

</Query>

</m:query>

      <m:viewFields>

<ViewFields><FieldRef Name='Verantwortlicher' />

</ViewFields>

     </m:viewFields>

      <m:rowLimit>5</m:rowLimit>

      <m:queryOptions>

<QueryOptions></QueryOptions>

</m:queryOptions>

      <m:webID></m:webID>

    </m:GetListItems>

  </soap:Body>

</soap:Envelope>

Outcomes