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



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.



.



Relevant Pages

  • Re: Cant get items from list using WebServices in MOSS 2007
    ... The minium parameter required is ListName. ... GetListItems function for the Items webservice work. ... viewFields As XmlNode, _ ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Cant get items from list using WebServices in MOSS 2007
    ... The minium parameter required is ListName. ... GetListItems function for the Items webservice work. ... viewFields As XmlNode, _ ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: show a list view in a customized web part
    ... private string _listName; ... private string _viewName; ... stringtemp; ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: SQL Query Help
    ... returned by the query and concatenate all of the returned ListNames ... Well i need to loop through all and populate a combobox. ... "ListName". ... that contains a single string. ...
    (borland.public.delphi.database.ado)
  • tr problem
    ... and I want to make the "listname" part of the string upper case, ... Ian ...
    (comp.lang.perl.misc)