Title: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. Only on CAML Query
Tags: web-services;sharepoint-2010;vb.net-2010
Question: I am working with sharepoint webservice. If I call the GetListItems method with "Query" parameter as null. It works. But if I provide a Caml query as parameter its getting an exception like "Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown."
Do you have any idea about this?
Comment: No, it's not mandatory. I realize this question is over a year old, but what was your CAML query? In the future, you can try using [this tool](http://spcamlqueryhelper.codeplex.com/) to test things.

Comment: Is the "queryoption" parameter is mandatory while providing the parameter "query"?



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:05/08/13', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<web-services><sharepoint-2010><vb.net-2010>', 'Title': "Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. Only on CAML Query", 'ViewCount': 8033, 'id': 16433859, 'user_AboutMe': None, 'user_AccountId': 1163453.0, 'user_DisplayName': 'sreeraj.sa', 'user_Reputation': 61.0, 'user_Views': 13.0, 'user_id': 1142504.0}}