ABBYY API URL

  • 617 Views
  • Last Post 21 January 2019
zykuak posted this 07 December 2018

Hi, I would like to retrieve the Session and Batch information from the ABBYY API, as described in this link.

http://help.abbyy.com/en-us/flexicapture/12/developer/methods

 

The URL I am trying is:

http://localhost/FlexiCapture12/Server/API/v1/Soap

 

Is the URL correct? I can't retrieve the WSDL, and the URL is protected by NTLM authentication, so I can't use a program to access the URL.

What is the URL to retrieve the WSDL for the API?

 

Thanks.

 

Order By: Standard | Newest | Votes
zykuak posted this 10 December 2018

I am reading this URL on integrating with web verification:

help.abbyy.com/en-us/flexicapture/12/developer/verification_integration

 

The web server which runs web verification (URL /Flexicapture12/Verification) is using windows authentication.

I have created another website with an iframe page to load the web verification. The website with iframe page also uses windows authentication

 

The URL I am loading in the iframe is:

/FlexiCapture12/WinAuth/Verify?projectId=7&roleId=17&stageId=5&taskId=46170787&returnTo=DeadEnd&mode=mini

 

However the verification website still displays the login page. Is is possible to not go through the login page? the username and password are entered by windows authentication before the webpage is loaded.

 

Is there a URL which I can use to access the verification for 1 task directly?

I changed the above URL to /FlexiCapture12/Verification/WinAuth/Verify? ...

but it does not work.

 

Ekaterina posted this 14 December 2018

Hello,

Unfortunately, the required amount of work is too big for the forum format.

Please address this question to your regional support.

zykuak posted this 27 December 2018

I have a different question - I think it is simpler.

I referred to the unattended example at this URL:
help.abbyy.com/en-us/flexicapture/12/developer/unattendedexample

 

This is the source code which I used to connect to the ABBYY API on my local PC.

var service = new FlexiCaptureWebServiceSoapClient();

// ======= BASIC AUTHENTICATION =======
service.ClientCredentials.Windows.ClientCredential.Domain = "localhost";
service.ClientCredentials.Windows.ClientCredential.UserName = "APAC\\ZHEKUAK";
service.ClientCredentials.Windows.ClientCredential.Password = "[pass]";

var username = service.GetCurrentUserIdentity();
int iUserId = service.FindUser(username.Name);

 

I receive an error, which says NTLM authentication is needed. I have changed the source code to use windows credentials. Are there other settings in order to connect to the ABBYY API?

 

Ekaterina posted this 21 January 2019

Hello,

We recommend to use NTLM-authentification directly, using following code:

credentialCache.Add(AppServerURL + "/FlexiCapture12/Server/FileService/v1", "NTLM", new NetworkCredential(login, pass, domain));

request.Credentials = credentialCache;

instead of:

if (basicAuthenticationCredentialCache != null)

{

request.Credentials = basicAuthenticationCredentialCache;

}

else

{

request.UseDefaultCredentials = true;

}

But first it is better to check if the user has particular rights, if you input correctly domain\user\password during authentification.

Close