Executing Services

From Textserver wiki
Revision as of 16:19, 19 January 2016 by Padro (Talk | contribs) (Created page with "Services can be called in two ways: Manually via a browser web interface, or programmatically via a client program running on your side. Both ways allow submitting either in...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Services can be called in two ways: Manually via a browser web interface, or programmatically via a client program running on your side.

Both ways allow submitting either interactive or batch requests.

Interactive requests are served immediately (or an error is returned if it is not possible to attend the request). The client is blocked until the end of the request. Interactive requests are intended for analyzing relatively short documents where processing time is a vital factor.

Batch requests are queued and processed as soon as possible. The client receives a job id code that can be used later to retrieve the results of the processing. Batch requests are intended to analyze long documents or large multidocument collections, or when processing time is not a vital factor.