Re: Can't get items from list using WebServices in MOSS 2007



The minium parameter required is ListName.
Try that way and see the results. I have no problems using this particular
webservice.

"El Bruno" <ElBruno@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F3FE5DE8-1AE6-490E-AAED-F6AE287C02C1@xxxxxxxxxxxxxxxx
Hi to all,

I'm testing some features of the MOSS 2007 Webservices, and I can't make
the
GetListItems function for the Items webservice work.

This service expects
Public Function GetListItems ( _
listName As String, _
viewName As String, _
query As XmlNode, _
viewFields As XmlNode, _
rowLimit As String, _
queryOptions As XmlNode, _
webID As String _
) As XmlNode

And I've trying with all the combinations to get some documents from the
server, but I always get a "0 Count"

<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"
xmlns="http://schemas.microsoft.com/sharepoint/soap/";>
<rs:data ItemCount="0">
</rs:data>
</listitems>

The minium parameters required are listname, rowfilter and webId

In Example:
Return MossLists.GetListItems(listName, Nothing, Nothing,
Nothing, 100, Nothing, webId)

and I always 0 count, but in the MOSS server I have 3 documents.

Any ideas ??

Thanks in advance
Bye from Spain

PS: I can use other functions as GetListCollection or GetList, but in
GetListItems I get the error :S.


.



Relevant Pages