How to use web service to import images and get verification task in station ?

  • 28 Views
  • Last Post yesterday
Ivan posted this 4 weeks ago

Hi all,

I refer the API sample(Processing Multiple Documents in One Batch) from development guide to develop a web service tool.

But, the different is I use advanced workflow instead of unattended like below:

scanning->recognition->verification->export->proceed

In the project setup station or admin console, I can find the batch or task is running and enter the verification stage(state is display waiting).

But I can't get any task in queue when I open the verification station as senior verification operator.

I use the windows authentication with the same user both in web service and station, It seems no permission problem. Besides, use OpenSession with parameter (12,10)/(6,3).

Is there anything wrong or web service only can get verification task by itself?

Thanks in advance.

  • Liked by
  • hawkeye69
Order By: Standard | Newest | Votes
hawkeye69 posted this 4 weeks ago

I want to add to this. I believe that I am having the same problem. I can create batches using web services, but when I do I cannot see the batches in Verification (thick or thin client) as a task - they don't show up in the Queue. I can only see the batch in Verification in "Batch" view, not in the "Queue" view. I would like to solve this problem too.

I had to use Hot Folders to import to get the documents to view in a queue. I would like to create batches in FC from the web services.

I tried many different parameters for "OpenSession" as well - I could not find a combination that corrected this problem.

I am on FC 12 R2.

I am currently working on creating task to see if that solves the problem. No luck so far.

I can tell you that I ran Fiddler and opened up Web Scanning and ran a trace while uploading a document. If I use web scanning I can see the tasks in Queues. Web scanning seems to use these same web service methods. According to Fiddler, it did so in the following order:

OpenProject()

GetCurrentTask()

AddNewBatch()

OpenBatch()

GetBatchIdsRange()

[repeat] AddNewDocument()

AddNewPage() [repeat]

ProcessBatch()

CloseBatch()

CloseProject()

CloseSession()

I noticed that web scanning never uses "AddNewImage()". I think you are working from the same example that I am. I think we are both trying to solve the same problem.

 

Adrian Enders

  • Liked by
  • Ivan
Ekaterina posted this yesterday

Hello,

Could you please make sure that the "allow web station" check mark is enabled?

Close