Interface OCR

    • 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 OCRWebServiceException
        This is the webservice execution method of the WebServiceType.OCR webservice interface.
        Parameters:
        operation - The OperationData, which contain the configuration and parameterization of the webservice call.
        fileURL - The URL of the source document that shall be processed. (might be null to select a file via it´s DataHandler instead.)
        fileContent - The DataHandler of the source document, that shall be processed. (might be null to select a resource via URL instead.)
        Returns:
        The DataHandler of the resulting document.
        Throws:
        WebServiceException - Shall be thrown, when calling the webservice failed.
        OCRWebServiceException