<div><font color="#000000"><font>Furthermore, I'd recommend that you actually look into downloading the QF/N source and regenerating a version according to your custom FIX44.xml DD.  However, you'll need Ruby to generate the source.<br>

</font></font></div><div><font color="#000000"><font><br></font></font></div><div><font color="#000000"><font>This will give you a FIX44 version of </font></font>the ApplicationMessageRequest and field methods.  These are preferred over the generic methods.<font color="#000000"><font><br>

</font></font></div><div><br></div><div>-Grant</div><div><br></div><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 10:52 AM, Grant Birchmeier <span dir="ltr"><<a href="mailto:gbirchmeier@connamara.com" target="_blank">gbirchmeier@connamara.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Felipe,<br><br>In this an future discussions, I highly recommend that you turn off digest mode.  It's making it difficult to follow the discussion when the subject lines are constantly changing.<br>

<br>Problem 1: In your cfg file, you need to add UseDataDictionary=Y<br>

<br>Problem 2: You are not constructing your repeating group correctly.<br><br>Problem 3: You were not using the correct message constructor.  (The first parameter to Message(string,bool) is an entire FIX message string, not just the 35 field.)<br>



<br><div>To construct your message with generic methods, it should look like this:<br></div><div><br></div>            QuickFix.Message m = new Message();<br>            m.Header.SetField(new BeginString("FIX.4.4"));<br>



            m.SetField(new QuickFix.Fields.StringField(35, "BW"));<br><br>            m.SetField(new QuickFix.Fields.StringField(1346, "TRADER")); //AppReqId<br>            m.SetField(new QuickFix.Fields.IntField(1347, 0)); //ApplReqType<br>



<br>            int[] ordering = {1355,1182,1183};<br>            Group g = new Group(1351, 1355, ordering);<br><br>            // first group element<br>            g.SetField(new QuickFix.Fields.StringField(1355,("foo"))); //RefApplID<br>



            g.SetField(new QuickFix.Fields.IntField(1182, 10)); //ApplBegSeqNum<br>            g.SetField(new QuickFix.Fields.IntField(1183, 20)); //ApplEndSeqNum<br>            m.AddGroup(g);<br><br>            // second group element<br>



            g.SetField(new QuickFix.Fields.StringField(1355, ("bar"))); //RefApplID<br>            g.SetField(new QuickFix.Fields.IntField(1182, 11)); //ApplBegSeqNum<br>            g.SetField(new QuickFix.Fields.IntField(1183, 22)); //ApplEndSeqNum<br>



            m.AddGroup(g);<br><br><div>            Console.WriteLine(m.ToString());<br></div><div>            // prints 8=FIX.4.4|9=82|35=BW|1346=TRADER|1347=0|1351=2|1355=foo|1182=10|1183=20|1355=bar|1182=11|1183=22|10=202|</div>



<div><br></div><div><br></div><br><br>--<br>Grant Birchmeier<br>Connamara Systems, LLC<br>Made-To-Measure Trading Solutions.<br>Exactly what you need. No more. No less.<br><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>



<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br></font></font></div>

<div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>

</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>

</font></div><br>