Note that there are some explanatory texts on larger screens.

plurals
  1. POSharePoint Web Services Team Discussion and Replies
    primarykey
    data
    text
    <p>I am trying to get a discussion with all it's replies from the sharepoint web services but only seem to be able to get the root message and not any of the replies. Below is the soap XML. What am I missing?</p> <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/"&gt; &lt;soapenv:Header/&gt; &lt;soapenv:Body&gt; &lt;soap:GetListItems&gt; &lt;!--Optional:--&gt; &lt;soap:listName&gt;Team Discussion&lt;/soap:listName&gt; &lt;soap:viewFields&gt; &lt;ViewFields&gt; &lt;FieldRef Name='Title'/&gt; &lt;FieldRef Name='ItemChildCount'/&gt; &lt;FieldRef Name='Body'/&gt; &lt;/ViewFields&gt; &lt;/soap:viewFields&gt; &lt;soap:queryOptions&gt; &lt;QueryOptions&gt; &lt;Folder&gt; "http://Lists/Team Discussion/Bite Me" &lt;/Folder&gt; &lt;/QueryOptions&gt; &lt;/soap:queryOptions&gt; &lt;/soap:GetListItems&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <p>The reply is:</p> <pre><code>&lt;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"&gt; &lt;soap:Body&gt; &lt;GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"&gt; &lt;GetListItemsResult&gt; &lt;listitems xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema"&gt; &lt;rs:data ItemCount="2"&gt; &lt;z:row ows_Title="Hello" ows_ItemChildCount="3;#1" ows_Body="&amp;lt;div class=&amp;quot;ExternalClass7B4989B3DC264716AD81B9CE55FD38FA&amp;quot;&gt;&amp;lt;p&gt;​The text of the message&amp;lt;/p&gt;&amp;lt;/div&gt;" ows_MetaInfo="3;#" ows__ModerationStatus="0" ows__Level="1" ows_ID="3" ows_UniqueId="3;#{6AF6D7DA-0D87-45EC-B002-AA0D153B6286}" ows_owshiddenversion="1" ows_FSObjType="3;#1" ows_Created="2012-01-11 12:21:26" ows_PermMask="0x7fffffffffffffff" ows_Modified="2012-01-11 12:21:26" ows_FileRef="3;#Lists/Team Discussion/Hello"/&gt; &lt;z:row ows_Title="Bite Me" ows_ItemChildCount="1;#1" ows_Body="&amp;lt;div class=&amp;quot;ExternalClass76A3DB4368714038B6B75DB0D807240B&amp;quot;&gt;&amp;lt;p&gt;​Really?&amp;lt;/p&gt;&amp;lt;/div&gt;" ows_MetaInfo="1;#" ows__ModerationStatus="0" ows__Level="1" ows_ID="1" ows_UniqueId="1;#{336518DC-B806-4DFB-9483-AB8DBB6258B6}" ows_owshiddenversion="1" ows_FSObjType="1;#1" ows_Created="2012-01-09 14:16:29" ows_PermMask="0x7fffffffffffffff" ows_Modified="2012-01-09 14:16:29" ows_FileRef="1;#Lists/Team Discussion/Bite Me"/&gt; &lt;/rs:data&gt; &lt;/listitems&gt; &lt;/GetListItemsResult&gt; &lt;/GetListItemsResponse&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt; </code></pre> <p>EDIT: Each of the above posts should also have a reply.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload