Re: [Quickfix-developers] Conditionally Required Fields / Business Message Reject
Brought to you by:
orenmnero
From: DKL-Gator <dea...@ya...> - 2008-09-10 11:22:52
|
Hello, Thanks for your reply. What I meant to point out is that I don't want the field to be required at all nor conditionally required. The field is set to N in the xml. I believe what I was doing was attempting to "get" a field that wasn't there. So I need to check for the presence of the field with isSet before getting it. I was stuck on thinking that it had something to do with the xml file and that quickfix was doing something out of my control somehow :) Pierre El-khoury wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi > When fields are set to required the Auto generating tools will generate > the classes based on the xml file, this will resulting adding them > required fields to the constructor of the class. In case you need the > field to be required in special implementation of the FIX engine you > could edit the xml file after generating the classes (preferred). In > this way the test suit will still work since it is based on the standard > xml files. > > Hobe this answers you question > Hobe this helps > > -----Oprindelig meddelelse----- > Fra: DKL-Gator [mailto:dea...@ya...] > Sendt: 9. september 2008 21:17 > Til: qui...@li... > Emne: Re: [Quickfix-developers] Conditionally Required Fields / Business > Message Reject > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I assume there is nothing in the FIX42.xml file that I can change since > the > required field can only be Y or N and I also understand that I can check > for > the presence of the field before attempting to get it. I still don't > understand how quickfix knows what is conditionally required. > > Thanks. > > > DKL-Gator wrote: >> >> Hello, >> >> How does quickfix know which fields are conditionally required >> (specifically 4.2). I do not want a certain field to be conditionally >> required when I receive an Execution Report with type of "canceled". >> Right now, quickfix is sending out a Business Message Reject for the >> conditionally required field of '41'. >> >> Thank you, >> Dean >> >> > > -- > View this message in context: > http://www.nabble.com/Conditionally-Required-Fields---Business-Message-R > eject-tp19398397p19399269.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > -- View this message in context: http://www.nabble.com/Conditionally-Required-Fields---Business-Message-Reject-tp19398397p19411319.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |