[Quickfix-developers] Problem with validation or may be bug in QuickFix
Brought to you by:
orenmnero
From: geka134 <ge...@ya...> - 2008-02-13 09:34:01
|
Problem with validation or may be bug in QuickFix Hello all. I am playing with validation facilities of QuickFix and faced with troubles: In my FIX message (ExecutionReport) exists one custom field (with tag 7012) with a string “TEST FIELD”. In configuration file I have following: [DEFAULT] ConnectionType=acceptor SocketAcceptPort=5001 SocketReuseAddress=Y StartTime=00:00:00 EndTime=00:00:00 UseDataDictionary=Y HttpAcceptPort=8090 [SESSION] BeginString=FIX.4.3 SenderCompID=EXECUTOR TargetCompID=CLIENT1 FileStorePath=store DataDictionary=./FIX43.xml In FIX43.xml i have added two records: 1) one in fields section <field number="7012" name="TestField" type="STRING" /> 2) and one in message (<message name="ExecutionReport" msgtype="8" msgcat="app">) section <field name="TestField" required="N" /> In the program code a do not add class for this field and simply do message.getField(7012); As a result quickfix reject message with: “Tag not defined for this message type” What it can be ? |