[Quickfix-users] Existing tag in Fix 4.4 not being recognized
Brought to you by:
orenmnero
From: Dan B. <dbo...@so...> - 2008-08-13 18:18:08
|
Hi all, This is a repost of a question by Julian Mendiola from June 9th. I have the exact same problem, and there were no responses, and I didn't see how to respond to the archived message. So maybe Julian, you have the answer to this, or you figured it out. Thanks, Dan [Quickfix-users] Existet tag is not defined error From: Julián Mendiola <julian.mendiola@pr...> - 2008-06-09 17:22 Attachments: HTML-Email.html <http://sourceforge.net/mailarchive/attachment.php?list_name=quickfix-users&message_id=71c...@ma...&counter=1> Hello. My server (Aceptor) is sending me I message that, beside is declared in FIXML4.4, has other field defined. So I edit the xml adding the fields missing to each xml message and all that. It was working good until the next isue came up: I'm getting an SecurityResponse whith the format: message{ 52=20080609-16:33:48.389 57=1 322=3820 323=4 320=1 15=USD 393=2045 82=21 67=12 711=100 group{ 311 = 587018 309 = ????SVN0008! 305 = 8 -------------------------------------------------> FOCUS ON THIS FIELD 463 = FXXXXX 307 = NG Fin BS, LD1 for IF - Consumers - Jul08 542 = 20080630 9013 = 0.0005 9014 = 2500.0 9017 = 2500 326 = 17 9083 = 4 9084= 0 9061 = 429 } } And QuickFix is autoresponsing this problem: 58=Tag not defined for this message type371=305 So I deduce that the tag 305 ( UnderlyingSecurityIDSource ) was missing from que message SecurityResponse and add it to the xml definition: <message name="SecurityDefinition" msgtype="d" msgcat="app"> ... <field name="UnderlyingSecurityIDSource" required="Y" /> .... <message/> But as I do that it tells me that the field 305 is repeating... Is logic, it is in an repeating gruop. So lest put it into the corresponding repeating group.... But when I attempt to do it... I see the field is in there... <message name="SecurityDefinition" msgtype="d" msgcat="app"> ... <group name="NoUnderlyings" required="N"> <component name="UnderlyingInstrument" required="N" /> </group> .... <message/> Where.... <component name="UnderlyingInstrument"> ... <field name="UnderlyingSecurityIDSource" required="N" /> --------> this is the fiel 305, difined in the field area. ... <component/> Why QuickFix is not "seeing" this field ??? Is any other way of avoiding the auto response of quickFix, cause the info I want is in the message... but QuickFix automaticaly reject it.....???? Thanks, Julian. |