Community

How to use web service to create a custom verification UI with FC11?

Hi all,

We want to use web service to create a custom verification station with the ocr result.DB record compared.

I have downloaded the sample codes("http://knowledgebase.abbyy.com/article/1271").
In the sample code the url is "/FlexiCapture10/Server/WebServices.dll?Handler=Version2". I change it to "/FlexiCapture11/Server/WebServices.dll?Handler=Version3"(We use FC11 R5 2059). Please refer the attachment image, why I will get this error? Is there any have different configurations need to modify with FC11 version?

Besides, I see the developer(
FCDistributedDeveloper0.chm) in Application Programming Interface (API) > Examples of API Use > Processing Multiple Documents in One Batch, there has roleType=12 and stationType=10 in sample code. Should I change it both equal to 3?(Verification Operator & WT_Validation) in my situation?

Is there has a FC11 sample projects like "http://knowledgebase.abbyy.com/article/1271" can refer? Thanks.

Was this article helpful?

0 out of 0 found this helpful

Comments

3 comments

  • Avatar
    Permanently deleted user
    Hi Ivan,

    The connection string should look like "http://127.0.0.1/FlexiCapture11/Server/WebServices.dll?Handler=Version3", besides that web reference should be added:
    "http://localhost/FlexiCapture11/Server/WebServices.dll?Handler=Version3WSDL" please make sure you have it.
    Those role type and station type are designed for web API (external user&station) which is a general setup. However different role and station types have different access rights to objects and actions so if you are going to use it only for verification that might indeed be the necessary way.

    Hope that helps,
    Vladislav
    0
  • Avatar
    Permanently deleted user
    Hi Vladislav,

    I have changed the web reference and rebuild a new .exe file. But it still have the same error message, it there any need to modified? I just download the FC10 sample project(8. API Batch Browser) and modified the connection string now.
    0
  • Avatar
    Permanently deleted user

    Hi Ivan,

    I've manually tried to reproduce your issue but was unable to. My program was launching successfully. Here is what I did:

    • I updated a web reference to ver.3
    • rebuilt project
    • fixed compiler errors (I'm using Visual Studio 2012)

    From screenshots I can see that you didn't update service.OpenSession(); method arguments since two integers are required for invocation.

    If you can't see compiler errors then you probably didn't update your web reference properly. Please take into account that here:"http://localhost/FlexiCapture11/Server/WebServices.dll?Handler=Version3WSDL" instead of localhost should be your server name.

    Best regards,

    Vladislav

    0

Please sign in to leave a comment.