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
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛