{{Quickfixn}} Field 35 not found when connecting using FIX.5.0SP2

Mike Gatny mgatny at connamara.com
Wed Nov 9 08:23:59 PST 2022


>
>
>> QuickFix.FIX50SP2.MessageFactory messageFactory = new
>> QuickFix.FIX50SP2.MessageFactory();
>> socket = new QuickFix.Transport.SocketInitiator(this, storeFactory,
>> sessionSettings, logFactory, messageFactory);
>>
>
Don't pass a messageFactory to the initiator constructor, let it use the
default msg factory, like this:

socket = new QuickFix.Transport.SocketInitiator(this, storeFactory,
sessionSettings, logFactory);


--
*Mike Gatny*



> socket.Start();
>>
>> QuickFix.MessageCracker interface is implemented, but I do not get any
>> messages there. Is there a different interface I must implement for FIX5?
>>
>> FIXT.1.1- APItest-FIX1.event.current.log:
>> Connection succeeded
>> Unexpected exception: QuickFix.FieldNotFoundException: field not found
>> for tag: 35
>>    at QuickFix.FieldMap.GetString(Int32 tag)
>>    at QuickFix.Session.SendRaw(Message message, Int32 seqNum)
>>    at QuickFix.Session.GenerateLogon()
>>    at QuickFix.Session.Next()
>>    at
>> QuickFix.Transport.SocketInitiator.SocketInitiatorThreadStart(Object
>> socketInitiatorThread)
>>
>> File store only has data in the session file:
>> 20221107-16:41:39.692332 Z
>>
>> The dictionary file has the standard 5.0 definition for Logon:
>>     <message name="Logon" msgtype="A" msgcat="admin">
>>       <field name="EncryptMethod" required="Y"/>
>>       <field name="HeartBtInt" required="Y"/>
>>       <field name="RawDataLength" required="N"/>
>>       <field name="RawData" required="N"/>
>>       <field name="ResetSeqNumFlag" required="N"/>
>>       <field name="NextExpectedMsgSeqNum" required="N"/>
>>       <field name="MaxMessageSize" required="N"/>
>>       <component name="MsgTypeGrp" required="N"/>
>>       <field name="TestMessageIndicator" required="N"/>
>>       <field name="Username" required="N"/>
>>       <field name="Password" required="N"/>
>>       <field name="NewPassword" required="N"/>
>>       <field name="EncryptedPasswordMethod" required="N"/>
>>       <field name="EncryptedPasswordLen" required="N"/>
>>       <field name="EncryptedPassword" required="N"/>
>>       <field name="EncryptedNewPasswordLen" required="N"/>
>>       <field name="EncryptedNewPassword" required="N"/>
>>       <field name="SessionStatus" required="N"/>
>>       <field name="DefaultApplVerID" required="Y"/>
>>       <field name="DefaultApplExtID" required="N"/>
>>       <field name="DefaultCstmApplVerID" required="N"/>
>>       <field name="Text" required="N"/>
>>       <field name="EncodedTextLen" required="N"/>
>>       <field name="EncodedText" required="N"/>
>>     </message>
>>
>> <Monkey scratching his head>
>>
>> Thanks!
>>
>> Francis Gingras
>>
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>
>
>
> --
> Grant Birchmeier
> Connamara Systems, LLC
> http://connamara.com
>
> This email, along with any attachments, is confidential. If you believe
> you received this message in error, please contact the sender immediately
> and delete all copies of the message. Thank you from Connamara Systems, LLC.
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>

-- 
This email, along with any attachments, is confidential. If you believe you 
received this message in error, please contact the sender immediately and 
delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20221109/761bb67d/attachment-0002.htm>


More information about the Quickfixn mailing list