Elektron Message API - Consumer Tutorial - Posting data to TR Contribution Channel
I'm currently trying to develop an app for Contributed Channels. As a start I use 'Elektron Message API - Consumer Tutorial - Posting data to TR Contribution Channel' from https://developers.thomsonreuters.com/elektron/elektron-sdk-cc/downloads to test out connectivity.
In EmaConfig.xml I have Host as chp02-emea1.thomsonreuters.com and Port as 443.
In the program I use OmmConsumer consumer(OmmConsumerConfig().username(Account Number).position(Machine ID1)); The bold parameters is the one from CONTRIBUTIONS CHANNEL ORDER DETAILS
But it only return: Exception Type='OmmInvalidUsageException', Text='login failed (timed out after waiting 45000 milliseconds) for chp02-emea1.thomsonreuters.com:443)'
I have tried the B-side: chp02-emea2.thomsonreuters.com but with the same result.
Could you please tell help me figure out what I'm doing wrong as I assume that the host is running as it should and the error is about something else
Best Answer
-
Jens,
Please can you use the following addresses for a windows client;
0
Answers
-
Hi @jens, I tried the contributions sample from downloads section, connecting to chp02-eap-emea1.thomsonreuters.com:443, with my credentials and was able to successfully login and contribute.
Can you please recheck your credentials and the contributed item name.
AppClient::OnRefreshMsg :: RefreshMsg
streamId="1"
domain="Login Domain"
Solicited
RefreshComplete
ClearCache
state="Open / Ok / None / 'Refresh Completed'"
itemGroup=""
name="****"
nameType="1"
Attrib dataType="ElementList"
ElementList
ElementEntry name="SingleOpen" dataType="UInt" value="1"
ElementEntry name="AllowSuspectData" dataType="UInt" value="1"
ElementEntry name="ProvidePermissionExpressions" dataType="UInt" value="1"
ElementEntry name="ProvidePermissionProfile" dataType="UInt" value="1"
ElementEntry name="SupportBatchRequests" dataType="UInt" value="1"
ElementEntry name="SupportOptimizedPauseResume" dataType="UInt" value="0"
ElementEntry name="SupportOMMPost" dataType="UInt" value="1"
ElementEntry name="SupportEnhancedSymbolList" dataType="UInt" value="1"
ElementEntry name="SupportViewRequests" dataType="UInt" value="0"
ElementEntry name="ApplicationId" dataType="Ascii" value="256"
ElementEntry name="ApplicationName" dataType="Ascii" value="ema"
ElementEntry name="Position" dataType="Ascii" value="10.116.81.181/net"
ElementListEnd
AttribEnd
RefreshMsgEnd
AppClient::OnStatusMsg :: StatusMsg
streamId="5"
domain="System Domain"
PrivateStream
ClearCache
state="Open / Ok / None / ''"
name="****"
serviceId="10"
serviceName="****"
StatusMsgEndAre you trying this sample from Linux machine?
0 -
I'm using a windows machine.
It never gets to consumer.registerClient, so AppClient is not register yet. It except with the mention exception on OmmConsumer consumer(OmmConsumerConfig()....
So it either something with the connection or the login. From Reuters I got:
YOUR CONTRIBUTIONS CHANNEL ORDER DETAILS
Account Number:xx
Machine ID1:yy
Password:zzI quessed where to place it:
OmmConsumer consumer(OmmConsumerConfig().username(xx).position(yy));
0 -
Password I send though (linux):
./dacsObfuscateLogin -e zz
And the result I put into elmList.addAscii("Password", "qqqqq").complete(); in onStatusMsg it never get to this point as stated above the AppClient is never register.
0 -
-
I'm a bit confused. Does "Elektron SDK - C/C++ - 1.1.1 - Windows" not run on windows platform? There is a complete library for ETA and EMA for windows.
I know dacsObfuscateLogin dosn't work on windows, why I used linux to get the password encode. But should contribution to TRCC not work from windows using "Elektron SDK - C/C++ - 1.1.1 - Windows"?
Ok I see now the sample is for Linux, but does that mean that TRCC can only be used from Linux?
0 -
Thanks @Dominic.Allison
That worked
0 -
We will provide a windows version of the sample application and obfuscation tool shortly
1 -
Could you help me with the correct setting for this call:
OmmConsumer consumer(OmmConsumerConfig().username(xx).position(yy));
When I got this from:
YOUR CONTRIBUTIONS CHANNEL ORDER DETAILS
Account Number:xx
Machine ID1:yy
Password:zz0 -
As far as I understand EMA Tunnel Stream on Windows and Linux using difference library for connecting to the TRCC server. Hence EMA requires specific version of server which support the library used by EMA on windows. At the time we create the example, it does not have windows version of TRCC server available. I think there is the reason that you have to use difference server for windows client.
1
Categories
- All Categories
- 6 AHS
- 39 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 中文论坛