Download Dictionary and Load data using RFA

josa
josa Contributor

Hello,

Am having problems co-ordinating the order in which events are processed by the API. On start up, I want to be able to login, and download dictionary from the server. Thereafter, I can then start sending requests.

I have followed the example in BatchItemView and DictionaryDemo in the provided example and I can't seem to make this work.

Any advise would be appreciated.

Thanks

Tagged:

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @josa

    Please use the initialization order:

    Login request issue ->

    <-Login response parse

    Directory request issue ->

    <-Directory response parse

    Dictionary request issue ->

    <- Dictionary response parse

    Item request issue->

    <!- Item response parse

    The DictionaryDemo example in RFA Java SDK can be used as a basis for your implementation of the initialization, including the downloading and parsing of the dictionary; and when the app is ready to issue the item requests, you can request them via Batch/View, using BatchVew Demo as an example.

Answers