Re: Can't get items from list using WebServices in MOSS 2007
- From: El Bruno <ElBruno@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Aug 2006 02:04:01 -0700
The problem:
I was looking for documents in a different site collection, so the filter
with the listName "documents" was not intelligent enough. I have to make the
search using the list GUID and the specific WebId.
Now It works fine.
Thanks
El Bruno
"Gonçalo Boléo" wrote:
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:D28E6221-CA84-44F6-B282-09EF4656EAA6@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.
- References:
- Re: Can't get items from list using WebServices in MOSS 2007
- From: Gonçalo Boléo
- Re: Can't get items from list using WebServices in MOSS 2007
- Prev by Date: Sharepoint 2003 SPList and make Title field not mandatory
- Next by Date: InfoPath Forms Services
- Previous by thread: Re: Can't get items from list using WebServices in MOSS 2007
- Next by thread: Add field to a sharepoint list
- Index(es):
Relevant Pages
|