Xml versus binary record replay

Hello,
We are currently using the record replay tool provided by
Reuters :
As described there are two formats for the record/replay :
- Xml
- Binary
In our side, the binary file is well replayed. However, we
got some troubles with Xml file.
After some investigations we managed to make it works, but
it requires to manually update the recorded Xml file.
So we think this is not something expected and this is why
we would like to get your advises.
Our detailed test case :
- Prerequisites :
- Trrt : hostname where
our Reuters server is deployed - 14002 : the port to
connect to the server
- Record
- Xml
rmdstestclient -S IDN_RDF -h trrt -p 14002-ct rssl -u r_msa -ef RIC.lst -rf 8-of idn_rdf.xml
- Binary
rmdstestclient -S IDN_RDF -h trrt -p 14002-ct rssl -u r_msa -ef RIC.lst -rf 8-of idn_rdf.xml
We followed the documentation :
- Replay
- Xml
./sink_driven_src -S IDN_RDF -Q idn_rdf.xml -U 1
-N 14001
-K -ik
- Binary
./sink_driven_src -S IDN_RDF -bdf idn_rdf.dat -U 1
-N 14001
-K -ik
We followed the documentation :
- Final result :
- Xml
- i.We get this error :
./sink_driven_src -S IDN_RDF -bdf idn_rdf.dat -U 1-N 14001-K -ik
Initialized RSSL library
Failed: rsslEncodeFieldEntry ,return value = "RSSL_RET_UNSUPPORTED_DATA_TYPE: Failure: The data type is unsupported. (-24)"...- ii.Finally after all the following modifications in
the recorded file idn_rdf.xml (you will find attached the two files the
original and the manually fixed one) : it works fine :
- Xml file reformatting
We noticed that the recorded Xml file is currently corrupted.
After some additional investigations, it seems that the root cause of this issue is the bad-formatted XML file generated from the "record" script.
Narrowing down to two eligible fields which might cause this, We have managed to replay successfully an XML file by changing the following :- initially to be able to load the entire XML file without losing data, add the missing dataType="RSSL_DT_TIME" for fields between 13404 - 14208 under the XML element <refreshMsg domainType="RSSL_DMT_MARKET_PRICE".
- qosRate="2" ---> should be changed from 2 to 1 in all occurrences
- <mapEntry flags="0x0" action="RSSL_MPEA_ADD_ENTRY" key="257" > --->key should be changed from 257 to 1 under the XML element <refreshMsg domainType="RSSL_DMT_SOURCE"
- Binary
- i.It works fine
Is that expected ?
How can we record a correct Xml file ?
Thanks,
Best Answer
-
Hello @guillaume.chatel
You may contact TREP support team who is expert in rmdstestclient and sink_driven_src which are TREP's tool. To raise this problem to them, please submit the query via Get Product Support in MyRefinitiv . Select Product "Thomson Reuters Enterprise Platform". If you face any difficulties submitting the query, please contact Refinitiv Account team.
0
Answers
-
I have come across this error once before when the local Data dictionary file used by sink_driven_src was outdated, compared to the one used by rmdstestclient - which by default requests the dictionary from the server it connects to.
Can you confirm if the local RDMFieldDictionary and enumtype.def are the same as the ones deployed on your 'trrt' server?
0 -
Hello, @umer.nalla,
Thank you for you feedback,
We already tested with several local Data dictionary files, and each time we ensured that they are the same between sink_driven_src and rmdstestclient and it did not work.
@pimchaya.wongrukun01, thanks for the advice. I submitted the ticket.
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
- 615 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
- 249 ETA
- 554 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
- 643 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
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛