Login rejected. Non-consumer attempting login [RFAJ]

I am getting "Login rejected. Non-consumer attempting login" message for provider from our ADS server not for consumer with RFA 8 Java . I am using the same port(14002) for Consumer and Provider. For consumer, connection type is RSSL and for provider connection type is RSSL_NIPROV.

With provider I am trying to post my data to reuters. With consumer I am consuming data from reuters.

Both are independent and not communicating with eachother but using same port to ADS server.

Is that the issue or something else.

Do I need to use different ports for provider and consumer.

Previously we are using RFA 7 Java with same port 8181 for provider and consumer, we didn't see this problem.

Best Answer

  • Lars-at-Addicticks
    Answer ✓

    Actually you do not need RRSL_NIPROV for this. You say that your requirement is to POST data back to TR. This is actually something you do on a consumer connection, not a provider connection. A consumer application (type RSSL_CONS) can consume data (duh!) and it can post data. Forget about the RSSL_NIPROV.

    So, this is actually parallel to how it was in the legacy past.

    I appreciate the somewhat confusing terminology here (poster vs provider). Think of it this way:

    • A poster is a consumer application which can (optionally) send post messages into existing data items.
    • A provider application is an entirely different beast. It can decide on its own which data items it will produce, thus it defines its own universe of data items, unlike a poster. A provider application basically creates data items. Developing provider applications typically takes a lot more effort than consumer application which is doing posts.

    I hope this helped.

    Lars @ Addicticks

Answers