|Just another Perl shrine|
Accessing SharePoint via SOAPby tomva (Initiate)
|on Sep 09, 2011 at 20:51 UTC||Need Help??|
tomva has asked for the wisdom of the Perl Monks concerning the following question:
I have been trying to talk to a sharepoint server, starting with this post: squish.net link
The server is running SharePoint 2010, and I'm accessing via https.
I've been able to connect and make SOAP requests, and I am able to successfully invoke GetListCollection(), for instance.
However, all of my attempts to call GetListItems() fail with a "Value does not fall within the expected range." exception from the server.
I'm guessing the documentation online is for older versions of SharePoint, so there is some additional field I need to supply to my GetListItems() call. But the errors are pretty opaque, and I've been unable to find, guess, or steal the correct field from MSDN or other searches.
Has anyone run into this or have any suggestions?
Here is a sample request as dumped by SOAP::Lite: (the listName is the list ID as returned by GetListCollection).
And the response:
Thanks for any help or suggestions!