04-13-2015 06:29 AM
Hi,
I am retrieving a list of documents using the documentQuery object.
The no. of documents will be more than 8,00,000. I am using the documentQuery.execute() method.
Find below the exception message and stacktrace.
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: xml node is not of type responseList, it is type: error
at Hyland.Types.EncryptedServiceObject.ReadXml(XmlReader reader, SerializationContext context)
at Hyland.Public.ServiceObject.ReadXml(String xml, SerializationContext context)
at Hyland.Types.SoapServiceClient.Execute(IRequestList requestList)
at Hyland.Unity.Application.Execute(RequestList requestList)
at Hyland.Unity.Application.Execute(Request request)
at Hyland.Unity.Application.ExecuteWithValidation(Request request)
at Hyland.Unity.ServiceAccess.ExecuteQuery(Application app, DocumentQuery qry, Int64 maxDocs, Boolean retrieveKeywords)
at Hyland.Unity.DocumentQuery.Execute(Int64 maxDocuments, DocumentRetrievalOptions docRetrievalOptions)
at Hyland.Unity.DocumentQuery.Execute(Int64 maxDocuments)
Please help me out.
Venkat
04-13-2015 07:13 AM
Apologies, the method you're looking for is ExecuteQueryResults. It should be in OnBase 12 or later.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.