HI Team,
I am trying to use VIEW while subscribing data (for example EUR=), I have followed the instructions mentioned in RFAJ_DeveloperGuide.pdf. below is the code :
encoder.initialize(OMMTypes.MSG, 100);
encoder.encodeMsgInit(msg, OMMTypes.NO_DATA, OMMTypes.ELEMENT_LIST); encoder.encodeElementListInit(OMMElementList.HAS_STANDARD_DATA, (short)0, (short)0);
But while executing I am getting the below error :
Exception in thread "main" com.reuters.rfa.omm.OMMException: Unknown MsgType: 0 not supported at com.reuters.rfa.internal.rwf.RwfEncoder.encodeMsgInit(Unknown Source) at com.reuters.rfa.internal.rwf.RwfEncoder.encodeMsgInit(Unknown Source) at com.datagenic.reuters.view.data.ItemManager.encodeLoginReqMsg(ItemManager.java:114) at com.datagenic.reuters.view.data.ItemManager.sendRequest(ItemManager.java:66)
Please can you suggest if I am missing anything or any mistakes ?
Thanks in advance!!