Thread: [Quickfix-users] ValidateUserDefinedFields=N doesn't work in the [DEFAULT] Section Of a settings fi
Brought to you by:
orenmnero
From: sevzas <se...@gm...> - 2010-03-26 16:19:41
|
I'm upgrading Quickfix from 1.12.4 to 1.13.2. I use QuickFix with a .NET 3.5 app. I took existing code that works and simply changed the references point to the new QuickFix 1.13.2. What I'm seeing is that messages with custom tags are now being rejected by my app. I get messages like (tags 49 and 56 are changed) 8=FIX.4.29=11935=334=23949=XXXX50=000152=20100326-13:56:00.40656=XXXX57=TEST45=24058=Invalid tag number371=9621372=8373=010=144 This message is a rejection of tag 9621 which is a custom tag sent by an ECN. I would like custom fields to be accepted by my app like they were with the old version of QuickFix. My config file is built from pieces by my code, but looks like this before creating a session (some parms are changed): [DEFAULT] ConnectionType=initiator BeginString=FIX.4.2 CheckCompID=N CheckLatency=N StartTime=00:00:00 EndTime=00:00:00 HeartBtInt=5 MaxLatency=120 ReconnectInterval=1 UseDataDictionary=Y ValidateFieldsHaveValues=N ValidateFieldsOutOfOrder=N ValidateUserDefinedFields=N SocketNoDelay=Y PersistMessages=Y [SESSION] DataDictionary=FIX42.xml SenderCompID=BD SenderSubID=0001 SocketConnectHost=111.22.33.44 SocketConnectPort=12345 TargetCompID=ECN TargetSubID=TEST When I move the "ValidateUserDefinedFields=N" to the [SESSION] section, it seems to work fine. So there is a work-around but it requires a change. I also fear that some of the other ValidateXXXXX settings do not work properly in the [SESSION] section. Can anyone out there confirm the problem and does anyone know an ETA for a fix? -- View this message in context: http://old.nabble.com/ValidateUserDefinedFields%3DN-doesn%27t-work-in-the--DEFAULT--Section-Of-a-settings-file-in-Quickfix-1.13.2-tp28043059p28043059.html Sent from the QuickFIX - User mailing list archive at Nabble.com. |
From: Francis G. <fr...@at...> - 2010-03-26 16:24:15
|
I have the same problem and in my case moving it to the SESSION section does not help. Francis Gingras ____________________________________ Friday, March 26, 2010, 10:19:34 AM, you wrote: > I'm upgrading Quickfix from 1.12.4 to 1.13.2. I use QuickFix with a .NET 3.5 > app. > I took existing code that works and simply changed the references point to > the new QuickFix 1.13.2. > What I'm seeing is that messages with custom tags are now being rejected by > my app. > I get messages like (tags 49 and 56 are changed) > 8=FIX.4.29=11935=334=23949=XXXX50=000152=20100326-13:56:00.40656=XXXX57=TEST45=24058=Invalid > tag number371=9621372=8373=010=144 > This message is a rejection of tag 9621 which is a custom tag sent by an > ECN. I would like custom fields to be accepted by my app like they were > with the old version of QuickFix. > My config file is built from pieces by my code, but looks like this before > creating a session (some parms are changed): > [DEFAULT] > ConnectionType=initiator > BeginString=FIX.4.2 > CheckCompID=N > CheckLatency=N > StartTime=00:00:00 > EndTime=00:00:00 > HeartBtInt=5 > MaxLatency=120 > ReconnectInterval=1 > UseDataDictionary=Y > ValidateFieldsHaveValues=N > ValidateFieldsOutOfOrder=N > ValidateUserDefinedFields=N > SocketNoDelay=Y > PersistMessages=Y > [SESSION] > DataDictionary=FIX42.xml > SenderCompID=BD > SenderSubID=0001 > SocketConnectHost=111.22.33.44 > SocketConnectPort=12345 > TargetCompID=ECN > TargetSubID=TEST > When I move the "ValidateUserDefinedFields=N" to the [SESSION] section, it > seems to work fine. So there is a work-around but it requires a change. I > also fear that some of the other ValidateXXXXX settings do not work properly > in the [SESSION] section. > Can anyone out there confirm the problem and does anyone know an ETA for a > fix? |
From: Oren M. <or...@qu...> - 2010-03-26 17:41:29
|
Hmmm. Doesn't look like the implementation has changed. And the document does say ValidateUserDefinedFields defaults to true. Are you sure that you did not replace the data dictionary file with one not containing those fields? On Mar 26, 2010, at 11:19, sevzas <se...@gm...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I'm upgrading Quickfix from 1.12.4 to 1.13.2. I use QuickFix with > a .NET 3.5 > app. > > I took existing code that works and simply changed the references > point to > the new QuickFix 1.13.2. > > What I'm seeing is that messages with custom tags are now being > rejected by > my app. > > I get messages like (tags 49 and 56 are changed) > 8=FIX. > 4.2 > 9= > 119 > 35= > 33 > 4=2 > 39 > 49= > XXXX > 50=000152=20100326-13:56:00.40656=XXXX57=TEST45=24058=Invalid > tag number371=9621372=8373=010=144 > > This message is a rejection of tag 9621 which is a custom tag sent > by an > ECN. I would like custom fields to be accepted by my app like they > were > with the old version of QuickFix. > > My config file is built from pieces by my code, but looks like this > before > creating a session (some parms are changed): > > [DEFAULT] > ConnectionType=initiator > BeginString=FIX.4.2 > CheckCompID=N > CheckLatency=N > StartTime=00:00:00 > EndTime=00:00:00 > HeartBtInt=5 > MaxLatency=120 > ReconnectInterval=1 > UseDataDictionary=Y > ValidateFieldsHaveValues=N > ValidateFieldsOutOfOrder=N > ValidateUserDefinedFields=N > SocketNoDelay=Y > PersistMessages=Y > [SESSION] > DataDictionary=FIX42.xml > SenderCompID=BD > SenderSubID=0001 > SocketConnectHost=111.22.33.44 > SocketConnectPort=12345 > TargetCompID=ECN > TargetSubID=TEST > > When I move the "ValidateUserDefinedFields=N" to the [SESSION] > section, it > seems to work fine. So there is a work-around but it requires a > change. I > also fear that some of the other ValidateXXXXX settings do not work > properly > in the [SESSION] section. > > Can anyone out there confirm the problem and does anyone know an ETA > for a > fix? > -- > View this message in context: http://old.nabble.com/ValidateUserDefinedFields%3DN-doesn%27t-work-in-the--DEFAULT--Section-Of-a-settings-file-in-Quickfix-1.13.2-tp28043059p28043059.html > Sent from the QuickFIX - User mailing list archive at Nabble.com. > > > --- > --- > --- > --------------------------------------------------------------------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |
From: Francis G. <fr...@at...> - 2010-03-26 22:25:33
|
Here is a message I posted earlier in the day. It does not seem to have been accepted by SF so here it is again. I use the latest QF VS9 1.13.2 initiator. I have used QF initiators for years and it works splendidly. I am now trying to connect to a provider that has undocumented custom tags (which are not in the dictionary). I have these lines in the [DEFAULT] section of the config file: UseDataDictionary=Y DataDictionary=FIX44.xml ValidateUserDefinedFields=N But I still get Rejects with "Invalid tag number" for all user-defined tags that are not in the DataDictionary. Shouldn't they be ignored by QF? OUT: Reject 8=FIX.4.4 9=107 35=3 34=5 49=DEMO 52=20100326-16:04:24.405 56=XYZ 45=3 58=Invalid tag number 371=10402 372=BG 373=0 10=175 Thanks, Francis Gingras |
From: Sev Z. <se...@gm...> - 2010-03-26 17:44:39
|
The only thing I replaced was the Dll file references. The user-defined field was never defined in our dictionary file. Note that Francis Gingras confirmed something similar. Oren Miller wrote: > Hmmm. Doesn't look like the implementation has changed. And the > document does say ValidateUserDefinedFields defaults to true. Are you > sure that you did not replace the data dictionary file with one not > containing those fields? > > On Mar 26, 2010, at 11:19, sevzas <se...@gm...> wrote: > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> I'm upgrading Quickfix from 1.12.4 to 1.13.2. I use QuickFix with a >> .NET 3.5 >> app. >> >> I took existing code that works and simply changed the references >> point to >> the new QuickFix 1.13.2. >> >> What I'm seeing is that messages with custom tags are now being >> rejected by >> my app. >> >> I get messages like (tags 49 and 56 are changed) >> 8=FIX.4.29=11935=334=23949=XXXX50=000152=20100326-13:56:00.40656=XXXX57=TEST45=24058=Invalid >> >> tag number371=9621372=8373=010=144 >> >> This message is a rejection of tag 9621 which is a custom tag sent by an >> ECN. I would like custom fields to be accepted by my app like they were >> with the old version of QuickFix. >> >> My config file is built from pieces by my code, but looks like this >> before >> creating a session (some parms are changed): >> >> [DEFAULT] >> ConnectionType=initiator >> BeginString=FIX.4.2 >> CheckCompID=N >> CheckLatency=N >> StartTime=00:00:00 >> EndTime=00:00:00 >> HeartBtInt=5 >> MaxLatency=120 >> ReconnectInterval=1 >> UseDataDictionary=Y >> ValidateFieldsHaveValues=N >> ValidateFieldsOutOfOrder=N >> ValidateUserDefinedFields=N >> SocketNoDelay=Y >> PersistMessages=Y >> [SESSION] >> DataDictionary=FIX42.xml >> SenderCompID=BD >> SenderSubID=0001 >> SocketConnectHost=111.22.33.44 >> SocketConnectPort=12345 >> TargetCompID=ECN >> TargetSubID=TEST >> >> When I move the "ValidateUserDefinedFields=N" to the [SESSION] >> section, it >> seems to work fine. So there is a work-around but it requires a >> change. I >> also fear that some of the other ValidateXXXXX settings do not work >> properly >> in the [SESSION] section. >> >> Can anyone out there confirm the problem and does anyone know an ETA >> for a >> fix? >> -- >> View this message in context: >> http://old.nabble.com/ValidateUserDefinedFields%3DN-doesn%27t-work-in-the--DEFAULT--Section-Of-a-settings-file-in-Quickfix-1.13.2-tp28043059p28043059.html >> >> Sent from the QuickFIX - User mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> |
From: ka w. <ka...@gm...> - 2010-03-26 22:15:11
|
I have the same config (.Net 3.5) and I also have some custom tags. Upgrading to the new version didn't change anything, it works well! K. 2010/3/26 Sev Zaslavsky <se...@gm...> > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > The only thing I replaced was the Dll file references. The user-defined > field was never defined in our dictionary file. Note that Francis > Gingras confirmed something similar. > > Oren Miller wrote: > > Hmmm. Doesn't look like the implementation has changed. And the > > document does say ValidateUserDefinedFields defaults to true. Are you > > sure that you did not replace the data dictionary file with one not > > containing those fields? > > > > On Mar 26, 2010, at 11:19, sevzas <se...@gm...> wrote: > > > >> QuickFIX Documentation: > >> http://www.quickfixengine.org/quickfix/doc/html/index.html > >> QuickFIX Support: http://www.quickfixengine.org/services.html > >> > >> > >> I'm upgrading Quickfix from 1.12.4 to 1.13.2. I use QuickFix with a > >> .NET 3.5 > >> app. > >> > >> I took existing code that works and simply changed the references > >> point to > >> the new QuickFix 1.13.2. > >> > >> What I'm seeing is that messages with custom tags are now being > >> rejected by > >> my app. > >> > >> I get messages like (tags 49 and 56 are changed) > >> 8=FIX.4.2 9=119 35=3 34=239 49=XXXX 50=0001 52=20100326-13:56:00.406 > 56=XXXX 57=TEST 45=240 58=Invalid > >> > >> tag number 371=9621 372=8 373=0 10=144 > >> > >> This message is a rejection of tag 9621 which is a custom tag sent by an > >> ECN. I would like custom fields to be accepted by my app like they were > >> with the old version of QuickFix. > >> > >> My config file is built from pieces by my code, but looks like this > >> before > >> creating a session (some parms are changed): > >> > >> [DEFAULT] > >> ConnectionType=initiator > >> BeginString=FIX.4.2 > >> CheckCompID=N > >> CheckLatency=N > >> StartTime=00:00:00 > >> EndTime=00:00:00 > >> HeartBtInt=5 > >> MaxLatency=120 > >> ReconnectInterval=1 > >> UseDataDictionary=Y > >> ValidateFieldsHaveValues=N > >> ValidateFieldsOutOfOrder=N > >> ValidateUserDefinedFields=N > >> SocketNoDelay=Y > >> PersistMessages=Y > >> [SESSION] > >> DataDictionary=FIX42.xml > >> SenderCompID=BD > >> SenderSubID=0001 > >> SocketConnectHost=111.22.33.44 > >> SocketConnectPort=12345 > >> TargetCompID=ECN > >> TargetSubID=TEST > >> > >> When I move the "ValidateUserDefinedFields=N" to the [SESSION] > >> section, it > >> seems to work fine. So there is a work-around but it requires a > >> change. I > >> also fear that some of the other ValidateXXXXX settings do not work > >> properly > >> in the [SESSION] section. > >> > >> Can anyone out there confirm the problem and does anyone know an ETA > >> for a > >> fix? > >> -- > >> View this message in context: > >> > http://old.nabble.com/ValidateUserDefinedFields%3DN-doesn%27t-work-in-the--DEFAULT--Section-Of-a-settings-file-in-Quickfix-1.13.2-tp28043059p28043059.html > >> > >> Sent from the QuickFIX - User mailing list archive at Nabble.com. > >> > >> > >> > ------------------------------------------------------------------------------ > >> > >> Download Intel® Parallel Studio Eval > >> Try the new software tools for yourself. Speed compiling, find bugs > >> proactively, and fine-tune applications for parallel performance. > >> See why Intel Parallel Studio got high marks during beta. > >> http://p.sf.net/sfu/intel-sw-dev > >> _______________________________________________ > >> Quickfix-users mailing list > >> Qui...@li... > >> https://lists.sourceforge.net/lists/listinfo/quickfix-users > >> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |