Content Management and Capture

 View Only
  • 1.  Datacap Web Services REST API methods

    Posted Tue May 14, 2024 09:05 PM

    Hello dears 

    I have a question in the datacap can i run more than one batch in the same time with the same user with the same station or different station via 

    Datacap Web Services REST API methods or "WTM"?



    ------------------------------
    Naryman namroud
    ------------------------------


  • 2.  RE: Datacap Web Services REST API methods

    Posted Wed May 15, 2024 01:09 AM

    If I want to test it, I will first do these configurations. I am not sure if these will serve your purpose.

    1) Set eRRO to 1.

    "Enabling the eRRO registry for Datacap thin clients will allow a new separated process to execute the validation rules called eRRo.exe, this setting will create a separated process for each user running the verification view on TMWeb, and for Datacap Navigator will be generated while clicking submit on the verify.js page"

    https://www.ibm.com/support/pages/slowness-datacap-web-and-datacap-navigator-while-executing-validation-rules

    2) Turn wTM cache off.

    a) open C:\Datacap\wTM\web.config
    b) Set cache to false
          <setting name="enableCache" serializeAs="String">
            <!--Enables caching files on the web server when connecting to Datacap Server.  If true you must use the /Session/Logon endpoint and include the wTmId cookie in all requests.-->
            <value>False</value>
          </setting>
    c) Restart TMS.



    ------------------------------
    dsakai
    ------------------------------



  • 3.  RE: Datacap Web Services REST API methods

    Posted Wed May 15, 2024 07:15 AM

    unfortunately this way does not solve my problem ,look when i use this way to run the tasks profile ""http://localhost:82/service/Rules/Execute" in case single request work otherwise in the padeID task the app face a connection reset error



    ------------------------------
    Naryman namroud
    ------------------------------



  • 4.  RE: Datacap Web Services REST API methods

    Posted Wed May 15, 2024 01:39 PM

    I don't think that is possible.    Are you referring to calling wTM REST api using the same user and pw, station ID?

    Have a look at the rest call.   https://www.ibm.com/docs/en/datacap/9.1.9?topic=reference-datacap-web-services-rest-api-methods

    You can see it use one logon and it passes in the transaction ID from start to finished. 
     
    Unless you are using multiple browser logging on to datacap navigator but using different  station ID.  But that could messed up the logon cookies session.



    ------------------------------
    Duke Lam
    ------------------------------