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
    ------------------------------



  • 5.  RE: Datacap Web Services REST API methods

    Posted Wed July 24, 2024 04:51 AM
    Edited by dsakai Wed July 24, 2024 04:52 AM

    Did this solve?

    > 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 

    In a client project here, Verify Submit timeout error occurs when 7 or 8 users concurrently work from Custom Verify Application.

    This Application uses the same Datacap user to logon to wTM for all concurrent sessions (7 or 8 users all use a single Datacap user to logon).

    eRRO is turned on. I'd like to know how to fix this Verify Submit timeout error.  When a user clicks Submit and waits for 15 seconds, the Custom Verify Application gets a timeout error. Does each wTM session need a different Datacap user for eRRO configuration to work?



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



  • 6.  RE: Datacap Web Services REST API methods

    Posted Wed July 24, 2024 11:27 AM

    So Datacap Navigator client?  It has to be since wTM is involved. Best way to test this is use "the box application APT or Travel doc".  

    For station ID there is a slu or connection setting to allow this station to have multiple concurrent connecting.  

    Ensure it greater than in your case 7 or 8 users.  Default is set at 9,999. 



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



  • 7.  RE: Datacap Web Services REST API methods

    Posted Fri July 26, 2024 03:20 AM

    The client is not Navigator. It is Nods.js (javascript) Custom application.

    It always uses "admin" user and station "1" to connect to wTM.

    Am I correct that the same user and the station can be reused over and over among several operators (several Nods.js client machines)

    because for each Logon action, there will be a different session.

    Or the same user and the station cannot hold multiple sessions at the same time?

    Should I at least make the station a different one?



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



  • 8.  RE: Datacap Web Services REST API methods

    Posted Fri July 26, 2024 11:29 AM

    If that's the case then no.  You can't do multiple logon using wTM REST API call.  Each transaction require it's wTM ID and logon from start to finish.   



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



  • 9.  RE: Datacap Web Services REST API methods

    Posted Wed July 31, 2024 07:41 AM

    hello dear 

      kindly note that it is applicable to do multiple logon using wTM REST API call with the same user



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



  • 10.  RE: Datacap Web Services REST API methods

    Posted Wed July 31, 2024 07:44 AM

    yes you can with different stations or the same station even 



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