I am using example 341 (Consumer Market Price Off Stream). Using that example, I am able to publish and receive updated from an ATS server. However, when I try with Market Link (MLIP) I get the error below.
Received AckMsg. Item Handle: 1 Closure:com.thomsonreuters.ema.access.OmmConsumerImpl@4dfed437
Item Name: XXX=YYY
Service Name: not set
Ack Id: 1
Nack Code:DeniedBySource
Text: (6)Invalid Message Syntax
We have an Excel using a Reuters plug-in which can update this RIC. Both the Excel and Java are accessing the same ADS server.
There are two relevant lines in the code.
submit(postMsg.postId(1).serviceName(XXX).name(RIC)
and
consumer.registerClient(..serviceName(YYY).name(RIC)
When XXX = MARKETLINK and YYY = IDN_RDF I get the RIC response and then I get the error above on submit().
When XXX = IDN_RDF and YYY = IDN_RDF I get the RIC response and then I get for the submit()
Nack Code: SourceDown
Text: A9: Service is unavailable
When XXX = MARKETLINK and YYY = MARKETLINK I get no RIC response. but "Item State: Open / Suspect / None / 'Request Timeout' and then I get the error 'Invalid Message Syntax' submit().
I have seen questions and answers on this, but with respect to RFA Java, but the solutions do not seem to work.
Edit: Consumer.txt original code from the examples attached. The only different to my example is the credentials, service and RIC.