<div dir="ltr">Hi,<div>Now i am able to get the message back from ICE, however when i use the Getfield method, i get Tag  not found error. I have verified that the field exists in Fix44.xml fle. I am using below code to get the field value.</div><div>I can get the TradeRequestID but not other fields. It gives me "cracker exceptions" field not found for tag error.</div><div><br></div><div><br></div><div><div>     public void OnMessage(QuickFix.FIX44.TradeCaptureReportRequestAck m, SessionID s)</div><div>        {</div><div><br></div><div>            string TradeRequestID = m.GetField(new TradeRequestID()).ToString();</div><div>            string TrdType = m.GetField(new TrdType()).ToString();</div><div><br></div><div>            Console.WriteLine(TrdType);</div><div><br></div><div><br></div><div>        }</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 15, 2016 at 12:09 PM, 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"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Yes.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><font color="#000000"><a href="http://quickfixn.org/tutorial/custom-fields-groups-and-messages.html" target="_blank">http://quickfixn.org/tutorial/<wbr>custom-fields-groups-and-<wbr>messages.html</a></font><br></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">Note the part about repeating groups.  That part totally applies to your situation.</font></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 15, 2016 at 12:53 PM, Annal Shrestha <span dir="ltr"><<a href="mailto:annalshrestha@gmail.com" target="_blank">annalshrestha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have not changed the Data Dictionary. Does DD need to have all the fields tat counterparty provides?<div><br></div></div><div class="m_-3002254315969444271HOEnZb"><div class="m_-3002254315969444271h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 15, 2016 at 11:24 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"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Check your log.  I'm sure you ARE getting the message, but your engine is rejecting it, because the fields are invalid according to your DD.  (Specifically: Your message includes fields that your DD does not expect.)</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">If you are not passing a FileLogFactory into your Application, do it.  Message logs are the single most important thing you need to diagnose problems.  Get comfortable reading raw FIX messages.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><span style="font-size:12.8px">I'm confident that your problem is because you have not changed your DataDictionary XML file to match the counterparty's specifications.  They have certainly added a bunch of custom fields to their messages that your engine will not know about unless you add them to your DD.</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-3002254315969444271m_-6661755328030722081h5">On Tue, Nov 15, 2016 at 12:18 PM, Annal Shrestha <span dir="ltr"><<a href="mailto:annalshrestha@gmail.com" target="_blank">annalshrestha@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-3002254315969444271m_-6661755328030722081h5"><div dir="ltr"><span style="font-size:12.8px">HI,</span><div style="font-size:12.8px">I sent the TradecaptureRequest to ICE as below and received the Acknowledgement. Now i am not sure how to get the TradeCaptureReport sent by ICE. Any help would be appreciated.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div> private void QueryTradeCaptureReport()</div><div>        {</div><div>               DateTime dt = new DateTime(2016,11,01);</div><div>               DateTime dt_end = new DateTime(2016, 11, 12);</div><div><br></div><div>            QuickFix.FIX44.TradeCaptureRep<wbr>ortRequest tradeReport = new QuickFix.FIX44.TradeCaptureRep<wbr>ortRequest();</div><div>            tradeReport.SetField(new TradeRequestID("100"));</div><div>            tradeReport.SetField(new TradeRequestType(0));</div><div>            tradeReport.SetField(new SubscriptionRequestType('0'));</div><div>            </div><div>            tradeReport.SetField(new TransactTime(dt));</div><div>            tradeReport.SetField(new TradeDate(dt.ToString("yyyyMMd<wbr>d")));</div><div>            tradeReport.SubscriptionReques<wbr>tType = new SubscriptionRequestType(Subscr<wbr>iptionRequestType.SNAPSHOT_PLU<wbr>S_UPDATES);</div><div>            Session.SendToTarget(tradeRepo<wbr>rt, _session.SessionID);</div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-im"><div>        }</div><div><br></div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">        </span></div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>public void OnMessage(QuickFix.FIX44.Trade<wbr>CaptureReportRequestAck m, SessionID s)</div><div>        {</div><div>            Console.WriteLine("Received Trade Capture Report ACK:"+ m.TradeRequestResult.ToString(<wbr>));</div><div><br></div><div>            Console.WriteLine(m.TradeReque<wbr>stStatus);</div><div>        }</div><div><br></div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">               </span></div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>public void OnMessage(QuickFix.FIX44.Trade<wbr>CaptureReport m, SessionID s)</div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>{</div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">               </span>Console.WriteLine("Received Trade Capture Report:" + m.TradeReportID.ToString());</div><div><br></div><div><span class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311m_-75095127882645216gmail-m_-8035817276524791029gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>}</div></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/lis<wbr>tinfo.cgi/quickfixn-quickfixn.<wbr>com</a><br>
<br></blockquote></div><span class="m_-3002254315969444271m_-6661755328030722081HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-3002254315969444271m_-6661755328030722081m_-1563795280538725311gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><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 size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/lis<wbr>tinfo.cgi/quickfixn-quickfixn.<wbr>com</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/lis<wbr>tinfo.cgi/quickfixn-quickfixn.<wbr>com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-3002254315969444271gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><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 size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.quickfixn.com/<wbr>listinfo.cgi/quickfixn-<wbr>quickfixn.com</a><br>
<br></blockquote></div><br></div>