I’m getting root elements from sharepoint with following code:
$client->GetListItems(array('listName' => $listName, 'rowLimit' => 10);
And it works well. But now I want to query all items recursively with this code (adding queryOptions):
$client->GetListItems(array('listName' => $listName, 'queryOptions' => '<ViewAttributes Scope="RecursiveAll"/>', 'rowLimit' => 10);
But I’m doing something wrong. This code returns HTTP 500 from server.
Got it working, had to use SoapVar like this: