Hi,
I am migrating code from FC11 to FC12 using web service.
First I change the endpoint to: https://dadca0000059.adc.corpintra.net/flexicapture12/Server/API/v1/WSDL
After that I followed ABBYY Help file and proceeded to update methods affected:
Added the sessionId parameter for passing the identifiers of Application Server connection sessions.
Added the sessionId parameter for passing the identifiers of Application Server connection sessions and the batchId parameter for passing the identifier of the batch to which a document belongs.
This method now returns a list containing all documents, including the empty document that is the parent document of all the top-level documents in the batch.
Added the sessionId parameter for passing the identifiers of Application Server connection sessions.
Added the sessionId parameter for passing the identifiers of Application Server connection sessions and the batchId parameter for passing the identifier of the batch to which a document belongs
After I run the code, no errors were detected however, some objects are not returning correctly.
My code: (see attached)
My question is the GetDocuments() method now returns null pages. It will return a Document object but null Pages. I cannot get the Documents which I need to export as XML.
Any ideas?
Comments
2 comments
Hello,
Please see this article about GetDocuments() method: http://help.abbyy.com/en-us/flexicapture/12/developer/getdocuments You may see that it returns the list of all documents in the batch, including the empty document that is the parent of all the top-level documents in the batch. Also the list of methods used in the FC12 you may see here:
Unfortunately we cannot analyze your code deeper now. Please contact your regional support to solve the problem.
Thanks Kat.
I have liaised with our regional support.
And actually I got figured out what's wrong.
I added a delay of 20 seconds after ProcessBatch() so it will return the Pages object.
Has anyone encountered this?
Please sign in to leave a comment.