Hello,
STEP1
----------
we installed and configured software named "EZD 1.2" on a computer with Windows Server 2008 R2 Standard operation system. Then we run in command line:
ezd.eze -nodaemon
and we can see the window
STEP2
---------
we downloaded Elektron SDK - C/C++ - 1.1.0 - Windows and the examples from https://developers.refinitiv.com/content/dam/devportal/api-families/elektron/elektron-sdk-c/downloads/elektron-sdk-tutorials-source-code/ema-tutorials.zip
Since we are interested in downloading and decoding machine readable news we took the example #5 (MRNConsumer) and changed just one line according to our configuration
OmmConsumer consumer(OmmConsumerConfig().host("my.ip.goes.here:14002").username("my_user_goes_here"));
in the following code
int main( int argc, char* argv[] ) { try { AppClient client; // Create consumer and specify our connectivity parameters + user name OmmConsumer consumer(OmmConsumerConfig().host("my.ip.goes.here:14002").username("my_user_goes_here")); // Request NTA domain MRN_STORY type items consumer.registerClient(ReqMsg().serviceName("LDN_RSSL_DDS_CHE").name("MRN_STORY").domainType(MMT_NEWS_TEXT_ANALYTICS), client); // original //consumer.registerClient(ReqMsg().serviceName("DIRECT_FEED").name("IBM.N").domainType(MMT_NEWS_TEXT_ANALYTICS), client); // original // Sleep long enough to receive a few stories sleep( 60000 );// API calls onRefreshMsg(), onUpdateMsg() and onStatusMsg() } catch ( const OmmException& excp ) { cout << excp << endl; } return 0; }
PROBLEM
---------------
When we run MRNConsumer.exe we have the following error in output:
QUESTION
----------------
We'd like to download and decode machine readable news, what's wrong in our code?
Thanks in advance