I am trying to generate a custom message as follows:<div><br></div><div><div> Message m = new Message();</div><div> m.Header.SetField(new BeginString("FIX.4.4"));</div><div> m.SetField(new StringField(35, "U1"));</div>
<div> m.SetField(new StringField(1, account));</div><div> m.SetField(new StringField(20011, _accountDetailsReqID.ToString()));</div><div> _accountDetailsReqID++;</div><div> SetTradeHeader(m.Header);</div>
<div><br></div><div> QuickFix.Session.SendToTarget(m);</div><div> </div></div><div>The message m, just before sending, is:</div><div><br></div><div>message = {8=FIX.4.4|9=61|49=QM2013xxxx-T|56=CITIFX|57=FXSpot|1=88103260|35=U1|20011=1|10=079}</div>
<div><br></div><div>The attempt to send the message results in an exception in SendRaw->message.Header.GetField(Fields.Tags.MsgType)</div><div><br></div><div>Inside GetField, I see that _fields is incorrect. In particular, 35 is not present. In fact, the list of _fields is</div>
<div><br></div><div>8, 9, 49, 56, 57</div><div><br></div><div>Why is _fields incorrect here?</div><div><br></div><div>I then spent half a day trying to install ruby and nokogiri. I cannot get past the error "libxml2 not present". There is no helpful information on the web that I can find, and the Nokogiri site says that installing on windows is so difficult,</div>
<div>they have provided the install so that "gem install nokogiri" "just works". My installation passed the DevKit check with jason.</div><div><br></div><div>I seem to be blocked at every step here.</div>