Class SoapZonalOCRClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<ZonalOCRService>
com.logicaldoc.zonalocr.webservice.soap.client.SoapZonalOCRClient
- All Implemented Interfaces:
ZonalOCRService
public class SoapZonalOCRClient
extends com.logicaldoc.webservice.soap.client.SoapClient<ZonalOCRService>
implements ZonalOCRService
-
Constructor Summary
ConstructorDescriptionSoapZonalOCRClient
(String endpoint) SoapZonalOCRClient
(String endpoint, int gzipThreshold, boolean log, int timeout) -
Method Summary
-
Constructor Details
-
SoapZonalOCRClient
public SoapZonalOCRClient(String endpoint, int gzipThreshold, boolean log, int timeout) throws IOException - Throws:
IOException
-
SoapZonalOCRClient
- Throws:
IOException
-
-
Method Details
-
process
public void process(String sid, long docId) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.core.security.authorization.PermissionException, FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Description copied from interface:ZonalOCRService
Processes a document- Specified by:
process
in interfaceZonalOCRService
- Parameters:
sid
- identifier of the sessiondocId
- identifier of the document- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
- The user has not been authenticatedcom.logicaldoc.core.security.authorization.PermissionException
- The user does not have enough permissionsFeatureNotEnabledException
- Feature not enabled in the licensecom.logicaldoc.webservice.WebserviceException
- Error in the webservicecom.logicaldoc.core.PersistenceException
- Error in the data layerIOException
- I/O error
-