IBM Security Verify

 View Only
Expand all | Collapse all

SDI Error "No more tokens in String"

  • 1.  SDI Error "No more tokens in String"

    Posted Mon March 25, 2024 07:25 PM

    Dear team,

    I hope you are doing well.

    I am currently working on creating an HR Feed for ISVG by utilizing web services to connect to the HR system. I have successfully generated the initial request to obtain a token. However, I encountered an error while attempting to create the second request to retrieve all users from the HR system. It appears that this issue may be attributed to the extended processing time required to retrieve the results. The error message I received was "java.util.NoSuchElementException: No more tokens in String." I am utilizing the "ibmdi.HTTPClient" connector in the Override CallReply method.

    Kindly advise.

    Thanks,



    ------------------------------
    mohamed ghonim
    ------------------------------


  • 2.  RE: SDI Error "No more tokens in String"

    Posted Wed March 27, 2024 11:19 AM

    It is impossible to give detailed help without understanding your code and services you are working with.

    Did you verify the call to the HR System using another tool ? The reason for asking is that some web services tend to deliver their response in a one liner text which could be the reason for the error message.

    I also wonder why you are seemingly doing this in an override hook - that is definitely not how i would do this...

    I hope this can bring a step closer to a solution - else my recommendation is to contact IBM Expert Labs for (billable) assistance or an IBM Business Partner that have skills in this area. 



    ------------------------------
    Franz Wolfhagen
    WW IAM Solution Engineer - Certified Consulting IT Specialist
    IBM Security Expert Labs
    ------------------------------