|
From: Christoph J. <chr...@ma...> - 2021-05-22 22:10:34
|
Hi, first, please do not post screenshots of code. They are not searchable and quite large in size. Rather attach, copy/paste or create a gist on github. Other things: 1. Could you please state which data dictionary *exactly* did you change in the source tree before rebuilding? Please specify the relative path starting from the root directory. 2. You do not need to manually set the group count field (in your case NoRelatedSym). This is done automatically when adding groups to the QuoteRequest message via addGroup(). You can also see that here: https://www.quickfixj.org/usermanual/2.3.0/usage/repeating_groups.html Cheers, Chris. On 22.05.21 12:20, Ajit Gautam wrote: > Hi, > > I am sorry about that. Please find the attachment. > Please find the below setting : > > # default settings for sessions > [DEFAULT] > ConnectionType=initiator > ReconnectInterval=60 > SenderCompID=XYZ > UseDataDictionary=Y > > # session definition > [SESSION] > BeginString=FIX.4.4 > TargetCompID=ABCD > StartTime=00:00:00 > EndTime=00:00:00 > HeartBtInt=30 > SocketConnectPort=XXXX > SocketConnectHost=127.0.0.1 > DataDictionary=./FIX44.xml > > > Regards > Ajit > > > On Sat, May 22, 2021, 14:39 Christoph John <chr...@ma... > <mailto:chr...@ma...>> wrote: > > Hi > > There was no attachment. > Could you please paste your settings here? > > Cheers > Chris > > Am 22. Mai 2021 08:38:15 MESZ schrieb Ajit Gautam <aji...@gm... > <mailto:aji...@gm...>>: > > Hi, > > Yes, I have rebuild the whole project that I checked out from GitHub. > I added the changes to dictionary. I have made in both acceptor and initiator dictionary > and build them. > The settings also have UseDataDictionary = Y. > > Note: I have added one custom field in session logon and it is working fine > > I have attached file where I have set the field in my code. > > > Regards > > > On Sat, May 22, 2021, 03:44 Christoph John <chr...@ma... > <mailto:chr...@ma...>> wrote: > > Hi, > > you speak of rebuilding QFJ so I guess you built the whole project that you checked > out from github?! > If yes, to which FIX44 dictionary did you add your changes? There are two dictionaries > in > https://github.com/quickfix-j/quickfixj/tree/master/quickfixj-messages/quickfixj-messages-fix44/src/main/resources > <https://github.com/quickfix-j/quickfixj/tree/master/quickfixj-messages/quickfixj-messages-fix44/src/main/resources> > but only the FIX44.modified.xml is used for building. It has some changes needed to > make the build work. The original FIX44.xml had some errors but we left it as > reference since it was generated from the FIX repository. > > When the custom fields are appended at the end of the message that usually means that > QFJ considers these fields as unknown and doesn't know where to put them. But you have > supplied your altered dictionary as well as the rebuilt QFJ to both your initiator and > acceptor, right? Do you have UseDataDictionary=Y in your settings? > > Cheers, > Chris. > > > On 21.05.21 18:32, Ajit Gautam wrote: >> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ <http://www.quickfixj.org/documentation/> >> QuickFIX/J Support:http://www.quickfixj.org/support/ <http://www.quickfixj.org/support/> >> >> >> >> Hi, >> >> I added two custom fields in financing details component of Quote request. >> I added these two custom fields in before start date field in financing details >> component. >> I added the field number as well as added in financing details component in FIX 44 >> XML data dictionary. >> >> After rebuilding, >> While sending data from my FIX Initiator, these two custom fields are appending at >> the end of my message structure. >> Thus , I m receiving a error- >> "Out of order repeating group members". >> >> I would appreciate if anyone can help me on this. >> >> Regards >> Ajit Gautam >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... <mailto:Qui...@li...> >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users <https://lists.sourceforge.net/lists/listinfo/quickfixj-users> > > -- > Christoph John > Software Engineering > T +49 241 557080-28 > chr...@ma... <mailto:chr...@ma...> > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germany > www.macd.com <http://www.macd.com> > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |