GetListItems为viewFields的组合抛出异常

时间:2015-07-13 09:56:20

标签: sharepoint

我正在调用GetListItems webservice来从sharepoint 2010服务器获取数据。如果我没有为ViewField参数提供任何值,或者当我调用列表中各个字段的Web服务时,Web服务正常工作。

但是对于某些字段组合,webservice会抛出异常。以下是例外内容。

类型' Microsoft.SharePoint.SoapServer.SoapServerException'的异常被扔了。

服务器堆栈跟踪:    在System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime操作,ProxyRpc& rpc)    在System.ServiceModel.Channels.ServiceChannel.Call(String action,Boolean oneway,ProxyOperationRuntime operation,Object [] ins,Object [] outs,TimeSpan timeout)    在System.ServiceModel.Channels.ServiceChannel.Call(String action,Boolean oneway,ProxyOperationRuntime operation,Object [] ins,Object [] outs)    在System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime操作)    在System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

在[0]处重新抛出异常:

任何想法可能是这个例外的原因。令人惊讶的是,单个字段值不会产生任何问题,但有些组合是。

我过去6年一直在使用SharePoint Webservices,但没有看到这样的问题。

0 个答案:

没有答案
相关问题