Recognition Server WebService

Dear all.


I am trying to do one simple task, send a file to Recognition Server for OCR processing over the WebService RSSoapService.

And I simply don't understand how to do that.

I was only succesful with operation GetWorkflows which returns me actual existed Workflows on my test system.



Maybe someone on this forum could help me with some directions.

Was this article helpful?

0 out of 0 found this helpful

Comments

2 comments

  • Avatar
    Sushi
    oobuco,

    Did you look at the sample project that comes with the product? The Visual CS one might help.
    0
  • Avatar
    oobuco
    Dear Sushi.


    Yes, sample projects could be helpful but I need to do that on very "raw way".

    Like that for example GetWorkflows.

    I need to do HttpRequest with folowed settings:

    Content-Type: application/soap+xml; charset=utf-8
    Content-Length: length of followed string

    and POST that string:

    «?xml version="1.0" encoding="utf-8"?»
    «soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"»
    «soap12:Body»
    «GetWorkflows xmlns="http://www.abbyy.com/RecognitionServer4_xml/RecognitionServer4.xml"»
    «serverLocation»X.Y.Z.W«/serverLocation»
    «/GetWorkflows»
    «/soap12:Body»
    «/soap12:Envelope»


    in return I do get list of workflows packed in XML which I can easily use.



    But for sending file that is much more complicated and I don't have a lot of such "raw way" documentation.

    Yes I could compile and run samples and than snif a network to see what actually goes out but that will be my last choice.



    I need to use "raw way" because image comes from a small custom made ARM computer (like Raspberry pi) and I have no way to use those samples.
    0

Please sign in to leave a comment.