FlexiCaptureWebServiceClient class is in the com.abbyy.connectors namespace. It inherits from the AutoCloseable class and connects to the ABBYY FlexiCapture 12 web service.
Constructor
Parameters
- url – The address of the ABBYY FlexiCapture Application Server, in the format
http://<ApplicationServer>.
Methods
getProjectNames
Return value
- A list of project names
Exceptions
- FlexiCaptureConnectorException – If an error occurs when getting a list of project names.
getProject
name parameter, and then creates and returns a new FlexiCaptureProject object.
Parameters
- name – The name of the project on the ABBYY FlexiCapture 12 server.
Return value
- A
FlexiCaptureProjectobject
Exceptions
- FlexiCaptureConnectorException – If an error occurs when opening the project.
getTenant
Return value
- A string holding the name of the tenant on the ABBYY FlexiCapture 12 server. This string is empty by default.
setTenant
Parameters
- tenant – The name of the tenant on the ABBYY FlexiCapture 12 server. Specify this parameter when working with the tenant, and omit it when working with the root.
Exceptions
- IllegalArgumentException – If the input parameter is empty or 0.
getTimeout
Return value
- The time, in seconds, to wait for a response from the ABBYY FlexiCapture 12 server. The default value is 300 seconds.
setTimeout
Parameters
- timeout – The time to wait for a response from the ABBYY FlexiCapture 12 server.
Exceptions
- IllegalArgumentException – If the input parameter is less than or equal to 0.
getCredentials
Return value
- An object holding the user’s name and password
setCredentials
Parameters
- credentials – An object holding the user’s name and password.
Exceptions
- IllegalArgumentException – If the input parameters are empty or 0.
