Package net.webpdf.wsclient.schema.stubs
Interface OCR
-
public interface OCRA class implementing
OCRprovides an interface class for the webPDFWebServiceType.OCRwebservice.- See Also:
WebServiceType.OCR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull jakarta.activation.DataHandlerexecute(@NotNull OperationData operation, @Nullable jakarta.activation.DataHandler fileContent, @Nullable String fileURL)This is the webservice execution method of theWebServiceType.OCRwebservice interface.
-
-
-
Method Detail
-
execute
@RequestWrapper(localName="execute", targetNamespace="http://schema.webpdf.de/1.0/soap/ocr", className="net.webpdf.wsclient.webservice.stubs.ocr.Execute") @ResponseWrapper(localName="executeResponse", targetNamespace="http://schema.webpdf.de/1.0/soap/ocr", className="net.webpdf.wsclient.webservice.stubs.ocr.ExecuteResponse") @Action(input="http://schema.webpdf.de/1.0/soap/ocr/OCR/executeRequest", output="http://schema.webpdf.de/1.0/soap/ocr/OCR/executeResponse", fault=@FaultAction(className=OCRWebServiceException.class,value="http://schema.webpdf.de/1.0/soap/ocr/OCR/execute/Fault/WebserviceException")) @NotNull @NotNull jakarta.activation.DataHandler execute(@NotNull @NotNull OperationData operation, @Nullable @Nullable jakarta.activation.DataHandler fileContent, @Nullable @Nullable String fileURL) throws OCRWebServiceExceptionThis is the webservice execution method of theWebServiceType.OCRwebservice interface.- Parameters:
operation- TheOperationData, which contain the configuration and parameterization of the webservice call.fileURL- The URL of the source document that shall be processed. (might benullto select a file via it´sDataHandlerinstead.)fileContent- TheDataHandlerof the source document, that shall be processed. (might benullto select a resource via URL instead.)- Returns:
- The
DataHandlerof the resulting document. - Throws:
WebServiceException- Shall be thrown, when calling the webservice failed.OCRWebServiceException
-
-