Dictionary Download for a Non-Interactive Provider

I am trying to implement a Non-Interactive Provider and my application is currently able to publish data to TREP.
the NIP application is currently loading the dictionary from local filesystem after logging in as a provider. So i have been able to publish data to TREP.
However, I would look to download this dictionary from the TREP ADH instead of relying on the local filesystem.
Whenever the dictionary request is sent, the NIP application receives a Close Request without any data.
I have ensured the the Login Response contains the SupportProviderDictionaryDownload element and is set to 1.
Could you please help with what i could be missing and why I would be receiving a Close Request?
Below is my Request and I have logged in as a Provider.
<REQUEST domainType="DICTIONARY" streamId="3" containerType="NO_DATA" flags="0x00" dataSize="0">
<key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="258" name="RWFFld" filter="15"/>
<dataBody>
</dataBody>
</REQUEST>
Best Answer
-
Hello @arvnar2407
I have tried to replicate your issue with ETA Java 3.6.1 (RTSDK 2.0.1) NIprovider example and I can replicate the issue by setting the streamId to 3 and 4 (for RWFFld and RWFEnum).
RWFFld Dictionary request message:
<REQUEST domainType="DICTIONARY" streamId="3" containerType="NO_DATA" flags="0x00" dataSize="0">
<key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="258" name="RWFFld" filter="15"/>
<dataBody>
</dataBody>
</REQUEST>RWFFld Dictionary response message:
<CLOSE domainType="DICTIONARY" streamId="3" containerType="NO_DATA" flags="0x00" dataSize="0">
<dataBody>
</dataBody>
</CLOSE>The RWFEnum dictionary request message with streamId 4 also receives the close response message as well.
When I use the default streamId -1 for RWFFld and -2 for RWFEnum, the ETA receives dictionary information successfully.
<REQUEST domainType="DICTIONARY" streamId="-1" containerType="NO_DATA" flags="0x00" dataSize="0">
<key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="258" name="RWFFld" filter="15"/>
<dataBody>
</dataBody>
</REQUEST>
...
<REQUEST domainType="DICTIONARY" streamId="-2" containerType="NO_DATA" flags="0x00" dataSize="0">
<key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="258" name="RWFEnum" filter="15"/>
<dataBody>
</dataBody>
</REQUEST>
...
<REFRESH domainType="DICTIONARY" streamId="-1" containerType="SERIES" flags="0x168 (HAS_MSG_KEY|SOLICITED|REFRESH_COMPLETE|CLEAR_CACHE)" groupId="0" State: Non-streaming/Ok/None - text: "" dataSize="639364">
<key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="258" name="RWFFld" filter="15"/>
...Could you please test the dictionary request messages with streamId -1 (for RWFFld) and -2 (for RWFEnum)?
You can find more detail in ETA Java NIProvider.java and NIProviderDictionaryHandler.java example source code.
0
Answers
-
Hello @arvnar2407
I am not the ETA expert but based on the ETA Java NIprovider example, the application needs to manual sends the Dictionary request message to ADH if the Login response message contains SupportProviderDictionaryDownload as 1
if (loginHandler.refreshInfo().checkHasFeatures()
&& loginHandler.refreshInfo().features().checkHasSupportProviderDictionaryDownload()
&& loginHandler.refreshInfo().features().supportProviderDictionaryDownload() == 1) {
int sendStatus = dictionaryHandler.sendDictionaryRequests(chnl, error, defaultServiceId);You can see more detail in the ETA Java NIprovider example setupDictionary() function.
0 -
Thank you for the response. I have logged in as Provider and the login response contains the SupportProviderDictionaryDownload element and set to 1.
However, On sending the Dictionary request, a close Message is received and I am looking to find reasons as to why this could happen.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 614 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 639 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 91 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛