コミュニティ

ABBYY FlexiCapture Web API (migrating code from FC11 to FC12 version)

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:

 

GetDocument

Added the sessionId parameter for passing the identifiers of Application Server connection sessions.

GetDocumentResultsList

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.

GetDocuments

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.

LoadDocumentResult

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?

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Permanently deleted user

    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.

    1
  • Avatar
    Permanently deleted user

    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?

     

    0

サインインしてコメントを残してください。